]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
fix skipping in github actions
authorAilin Nemui <redacted>
Tue, 26 Jan 2021 11:24:39 +0000 (12:24 +0100)
committerAilin Nemui <redacted>
Tue, 26 Jan 2021 12:09:03 +0000 (13:09 +0100)
update report screenshot

remove travis

[ci skip]

.github/workflows/test.yml
.travis.yml [deleted file]
README.markdown
script_check_report.markdown [new file with mode: 0644]
travis_report.markdown [deleted file]

index c71cfb45c6448a9c07a37bb44bde43febf9c28f5..8dfdc55a0bc4146b031c239e394558c9adcd03be 100644 (file)
@@ -11,12 +11,25 @@ env:
   EXTRACT_TEST_ARTEFACTS: yes
   PERL_MM_NONINTERACTIVE: 1
 jobs:
+  skip:
+    runs-on: ubuntu-latest
+    outputs:
+      skip: ${{ steps.ci-skip-step.outputs.ci-skip }}
+      skip-not: ${{ steps.ci-skip-step.outputs.ci-skip-not }}
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
+      - id: ci-skip-step
+        uses: mstachniuk/ci-skip@v1
   test:
+    needs: skip
+    if: ${{ needs.skip.outputs.skip == 'false' }}
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@main
         with:
-          fetch-depth: '0'
+          fetch-depth: 0
       - uses: mstachniuk/ci-skip@v1
         with:
           fail-fast: true
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index 7f51e61..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-sudo: false
-dist: trusty
-language: perl
-cache:
-  directories:
-  - extlib
-perl:
-# ~stretch
-- "5.24-shrplib"
-addons:
-  apt:
-    packages:
-    # irssi build dependencies
-    - elinks
-    # script test dependencies
-    - zsh
-    # script dependencies
-    - libdb-dev
-    - libaspell-dev
-    - libgirepository1.0-dev
-    - gobject-introspection
-    - gir1.2-notify-0.7 # for desktop-notify
-    - xosd-bin # for osd
-before_install:
-- cpanm --quiet local::lib
-- eval "$(perl -Mlocal::lib=$TRAVIS_BUILD_DIR/extlib)"
-- git clone -q git://github.com/irssi/irssi irssi-head
-- export PERL_MM_NONINTERACTIVE=1
-install:
-- |
-  pushd irssi-head
-  echo -n "irssi version: ";git describe --tags
-  ./autogen.sh --prefix=$HOME/irssi_inst --with-perl=module 2>/dev/null | tail -n 17
-  make >/dev/null 2>&1
-  make install | grep -C3 \\\.libs\\\|bin/irssi
-  popd
-- |
-  if [ $TRAVIS_PULL_REQUEST = false ] && [ $USE_ARTEFACTS_CACHE = yes ] && [ $EXTRACT_TEST_ARTEFACTS = yes ]; then
-    env -u REPO_LOGIN_TOKEN ./_testing/travis/load-old-artefacts.zsh
-  fi
-- env -u REPO_LOGIN_TOKEN
-  cpanm --quiet --installdeps --notest .
-- env -u REPO_LOGIN_TOKEN
-  ./_testing/autoinstall-perl-prereqs.zsh
-- |
-  pushd auto
-  env -u REPO_LOGIN_TOKEN cpanm --quiet --installdeps --notest .
-  popd
-before_script:
-- export PATH=$HOME/irssi_inst/bin:$PATH
-- env -u REPO_LOGIN_TOKEN
-  ./_testing/run-test.zsh
-- |
-  if [ $TRAVIS_PULL_REQUEST != false ]; then
-    git diff --stat $TRAVIS_BRANCH
-  fi
-script:
-- env -u REPO_LOGIN_TOKEN
-  ./_testing/report-test.zsh
-after_script:
-- env -u REPO_LOGIN_TOKEN
-  ./_testing/travis/show-failures.zsh
-- |
-  if [ $TRAVIS_PULL_REQUEST = false ] && $TRAVIS_SECURE_ENV_VARS; then
-    env -u REPO_LOGIN_TOKEN perl ./_testing/update-scripts-yaml.pl
-    ./_testing/travis/commit-scripts-yaml.zsh
-  fi
-- |
-  if [ $TRAVIS_PULL_REQUEST = false ] && $TRAVIS_SECURE_ENV_VARS && [ $EXTRACT_TEST_ARTEFACTS = yes ]; then
-    ./_testing/travis/extract-artefacts.zsh
-  fi
-branches:
-  only:
-  - master
-env:
-  global:
-  - USE_ARTEFACTS_CACHE=yes
-  - EXTRACT_TEST_ARTEFACTS=yes
index acfb9ad911c271e6436590d4983ed88f233a45ac..12ebc2b59024ad3320001ab4b1f8e7ab4f531b90 100644 (file)
@@ -16,7 +16,7 @@ To add or modify a script do the following:
 5. If the script has a ChangeLog, remember to include your modifications.
 6. Commit your changes to Git and push them to Github.
 7. Submit pull request.
-8. [Review the travis report](travis_report.markdown) once it is done.
+8. [Review the Script Check report](script_check_report.markdown) once it is done.
 9. Await review of your changes by one of our developers.
 
 Optionally, to run tests locally, see more information under [_testing](_testing).
diff --git a/script_check_report.markdown b/script_check_report.markdown
new file mode 100644 (file)
index 0000000..30e2802
--- /dev/null
@@ -0,0 +1,11 @@
+To review the GitHub Check Script report, you first need to open it. Locate the Green Checkmark (✔), Red Cross (✘) or Yellow Dot (Check in progress) on your commit:
+
+![check-1c](https://user-images.githubusercontent.com/5665186/35736082-16f743b8-0827-11e8-808a-acccdef28d25.png)
+
+Click on the mark as outlined in the screenshot above. You can find the mark on the Pull requests overview, or next to your commits in the Conversation or Commits view.
+
+Once you click on Details, you will be taken to the Check Script log view. Scroll down a fair bit until you find the **Test Report** table
+
+![check-2](https://user-images.githubusercontent.com/5665186/105838914-0d3f7c00-5fd1-11eb-90ad-5ec10ac28c0b.png)
+
+Expand the detailed **integration/error report** by clicking on the triangle in the left margin, as indicated in the screenshot above.
diff --git a/travis_report.markdown b/travis_report.markdown
deleted file mode 100644 (file)
index 0bdaddd..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-To review the Travis Continuous Integration report, you first need to open Travis. Locate the Green Checkmark (✔), Red Cross (✘) or Yellow Dot (Travis in progress) on your commit:
-
-![check-travis-1c](https://user-images.githubusercontent.com/5665186/35736082-16f743b8-0827-11e8-808a-acccdef28d25.png)
-
-Click on the mark as outlined in the screenshot above. You can find the mark on the Pull requests overview, or next to your commits in the Conversation or Commits view.
-
-Next, you will be taken to the Travis log view. Scroll down a fair bit until you find the Test Report table
-
-![check-travis-2](https://user-images.githubusercontent.com/5665186/35736089-191271cc-0827-11e8-98bb-800a03e10170.png)
-
-Expand the detailed integration/error report by clicking on the triangle in the left margin, as indicated in the screenshot above.
git clone https://git.99rst.org/PROJECT