Skip to content

Commit

Permalink
only upload to codecov in PSLmodels repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed May 17, 2024
1 parent d1eef56 commit cb9a365
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 @@ -55,7 +55,7 @@ jobs:
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && contains(github.repository, 'PSLmodels/Tax-Brain')
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
Expand Down

0 comments on commit cb9a365

Please sign in to comment.