Skip to content

Commit

Permalink
Don't run codecov on scheduled actions (#750)
Browse files Browse the repository at this point in the history
Saw this in recent scheduled runs:

```
[ErrorDetail(string='Too many uploads to this commit.', code='invalid')]
```

https://github.com/pypa/twine/runs/2310302729?check_suite_focus=true#step:6:52
  • Loading branch information
bhrutledge committed Apr 10, 2021
1 parent ce3e76d commit eff3a45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- name: Run tests
run: python -m tox -e py -- --cov-report xml
- uses: codecov/codecov-action@v1
if: github.event_name != 'schedule'
with:
file: ./coverage.xml
name: ${{ matrix.python }} - ${{ matrix.platform }}
Expand Down

0 comments on commit eff3a45

Please sign in to comment.