diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-20 23:58:36 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-20 23:58:37 +0900 |
commit | d10e28b875a58e2c4422b8df8f4bbcc2fb0362d0 (patch) | |
tree | 454b502f261c347b88bac46f2b2e3f925cb1cbba /.github/workflows/macos.yml | |
parent | 235d810c2ecd1289c963f6dc6cce78ae2572d034 (diff) |
Skip tests on Actions if [ci skip]
It seems that we cannot easily apply job-level [ci skip].
Therefore this commit skips only Tests step if it's [ci skip].
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1dcd992d33..13d0c7de99 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -47,14 +47,14 @@ jobs: env: TESTOPTS: "$JOBS -q --tty=no" MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies - if: matrix.test_task != 'test-bundled-gems' + if: matrix.test_task != 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]') # test-bundled-gems is separated for marking `continue-on-error` because it randomly fails. - name: Tests run: make -s ${{ matrix.test_task }} env: TESTOPTS: "$JOBS -q --tty=no" continue-on-error: true - if: matrix.test_task == 'test-bundled-gems' + if: matrix.test_task == 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]') - name: Leaked Globals run: make -s leaked-globals - uses: k0kubun/action-slack@v1.0.0 |