Skip to content

Commit

Permalink
No codecov for forked repositroy pull request updates
Browse files Browse the repository at this point in the history
- Codecoverage was throwing rate limiting errors and thus failing CI.
-https://github.com/ad12/DOSMA/actions/runs/10459944994/job/28965177349#step:7:83
- Therefore, add if statement to no push codecov under these circumstances.
  • Loading branch information
gattia committed Aug 19, 2024
1 parent 4b5f3a8 commit 97bbb31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
make test-cov
- name: Upload to codecov.io
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
Expand Down

0 comments on commit 97bbb31

Please sign in to comment.