Upload coverage for all branches

This commit is contained in:
Unrud 2020-05-19 04:32:52 +02:00 committed by Unrud
parent 2909cae817
commit 969502cd7b

View File

@ -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