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
+++ /dev/null
-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
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).
--- /dev/null
+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:
+
+
+
+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
+
+
+
+Expand the detailed **integration/error report** by clicking on the triangle in the left margin, as indicated in the screenshot above.
+++ /dev/null
-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:
-
-
-
-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
-
-
-
-Expand the detailed integration/error report by clicking on the triangle in the left margin, as indicated in the screenshot above.