Skip to content

Commit

Permalink
Merge pull request #163 from GSTT-CSC/fix-coverage-badge
Browse files Browse the repository at this point in the history
Update coverage badge on commit to main
  • Loading branch information
tomaroberts authored Dec 7, 2021
2 parents 87837d4 + 22e58c1 commit af63470
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
junitxml-path: ./pytest.xml

- name: Update the coverage Badge
if: github.event.pull_request.base.ref == 'master' # if pull request is merging into master
if: github.event.pull_request.base.ref == 'main' # if pull request is merging into master
uses: schneegans/[email protected]
with:
auth: ${{ secrets.PYTEST_COVERAGE_COMMENT }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ jobs:
run: |
set -o pipefail
pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=hazenlib tests/ | tee pytest-coverage.txt ; echo $?

0 comments on commit af63470

Please sign in to comment.