test.workflow: respect 'skip ci'
This commit is contained in:
parent
c7d44be338
commit
8f50e22278
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -9,6 +9,8 @@ on:
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
# https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.x
|
||||
@ -22,6 +24,7 @@ jobs:
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
@ -61,6 +64,7 @@ jobs:
|
||||
|
||||
test-cython:
|
||||
runs-on: ubuntu-latest
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.x
|
||||
@ -74,6 +78,7 @@ jobs:
|
||||
|
||||
test-pypy3:
|
||||
runs-on: ubuntu-latest
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python pypy3
|
||||
|
Loading…
x
Reference in New Issue
Block a user