Skip to content

Commit

Permalink
only try codecov upload in upstream repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed May 17, 2024
1 parent 5ddb060 commit 54817f9
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 @@ -38,7 +38,7 @@ jobs:
run: |
pytest -m 'not local' --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && contains(github.repository, 'EAPD-DRB/OG-ZAF')
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
Expand Down

0 comments on commit 54817f9

Please sign in to comment.