Skip to content

Commit

Permalink
Merge pull request #2793 from jdebacker/codecov
Browse files Browse the repository at this point in the history
Only upload codecov report on push to PSLmodels
  • Loading branch information
jdebacker authored Aug 20, 2024
2 parents 5f0f504 + b6afcac commit eec39bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
pytest -m 'not requires_pufcsv and not requires_tmdcsv and not pre_release and not local' --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && contains(github.repository, 'PSLmodels/Tax-Calculator')
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
Expand Down

0 comments on commit eec39bf

Please sign in to comment.