Actions: Fix condition
This commit is contained in:
parent
5c4989f26c
commit
5af2c6e69a
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
- name: Run tests
|
||||
run: python setup.py test
|
||||
- name: Upload coverage to Coveralls
|
||||
if: secrets.COVERALLS_REPO_TOKEN
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
env:
|
||||
COVERALLS_PARALLEL: true
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
|
||||
coveralls-finished:
|
||||
needs: test
|
||||
if: secrets.COVERALLS_REPO_TOKEN
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Python
|
||||
|
Loading…
Reference in New Issue
Block a user