Skip to content

Commit e9479f2

Browse files
committed
Fix #171: Simplify GitHub CI configuration
1 parent 0cb9c40 commit e9479f2

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/ci.yml

+2-18
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,6 @@ on:
1515

1616

1717
jobs:
18-
19-
pre_job:
20-
runs-on: ubuntu-latest
21-
# Map a step output to a job output
22-
outputs:
23-
should_skip: ${{ steps.skip_check.outputs.should_skip }}
24-
steps:
25-
- id: skip_check
26-
uses: fkirc/skip-duplicate-actions@master
27-
with:
28-
github_token: ${{ github.token }}
29-
paths_ignore: '["CHANGES/**", "CHANGES.rst", "LICENSE.txt", "README.rst", "tools/**"]'
30-
if: github.event_name != 'push' || contains(github.ref, 'refs/tags/')
31-
3218
lint:
3319
name: Linter
3420
runs-on: ubuntu-latest
@@ -89,8 +75,7 @@ jobs:
8975
9076
test:
9177
name: Test
92-
needs: [lint, pre_job]
93-
if: needs.pre_job.outputs.should_skip == 'false'
78+
needs: [lint]
9479
strategy:
9580
matrix:
9681
pyver: [3.6, 3.7, 3.8, 3.9]
@@ -158,9 +143,8 @@ jobs:
158143

159144
test-summary:
160145
name: Test matrix status
161-
if: needs.pre_job.outputs.should_skip == 'false' && always()
162146
runs-on: ubuntu-latest
163-
needs: [pre_job, test]
147+
needs: [test]
164148
steps:
165149
- name: Check build matrix status
166150
if: needs.test.result != 'success'

0 commit comments

Comments
 (0)