Skip to content

Commit

Permalink
Cleanup github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 27, 2020
1 parent 4071792 commit 7142fcb
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ on:


jobs:
pre_job:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
github_token: ${{ github.token }}
paths_ignore: '["CHANGES/**", "CHANGES.rst", "LICENSE.txt", "README.rst", "tools/**"]'

lint:
name: Linter
runs-on: ubuntu-latest
Expand Down Expand Up @@ -85,9 +73,7 @@ jobs:
test:
name: Test
needs: [lint, pre_job]
if: needs.pre_job.outputs.should_skip == 'false'

needs: [lint]
strategy:
matrix:
pyver: [3.6, 3.7, 3.8, 3.9]
Expand Down Expand Up @@ -134,16 +120,6 @@ jobs:
flags: unit
fail_ci_if_error: false

test-summary:
name: Test matrix status
if: needs.pre_job.outputs.should_skip == 'false' && always()
runs-on: ubuntu-latest
needs: [pre_job, test]
steps:
- name: Check build matrix status
if: needs.test.result != 'success'
run: exit 1

deploy:
name: Deploy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7142fcb

Please sign in to comment.