Upload coverage for all branches
This commit is contained in:
parent
2909cae817
commit
969502cd7b
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: python setup.py test
|
run: python setup.py test
|
||||||
- name: Upload coverage to Coveralls
|
- name: Upload coverage to Coveralls
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push'
|
||||||
env:
|
env:
|
||||||
COVERALLS_PARALLEL: true
|
COVERALLS_PARALLEL: true
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
@ -29,7 +29,7 @@ jobs:
|
|||||||
|
|
||||||
coveralls-finish:
|
coveralls-finish:
|
||||||
needs: test
|
needs: test
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
Loading…
Reference in New Issue
Block a user