Skip to content

Commit

Permalink
template CI workflow: do not run codecov coverage in CRON CI (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst committed May 19, 2023
1 parent e243dcb commit cfd89d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ The rules for this file:
**2023**
- Ian Kenney \<@ianmkenney\>
- Rocco Meli \<@RMeli\>
- Oliver Beckstein \<@orbeckst\>
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The rules for this file:
- fiona-naughton
- ianmkenney
- RMeli
- orbeckst

### Added
<!-- New added features -->
Expand All @@ -42,6 +43,8 @@ The rules for this file:
- Remove redundant code of conduct document (Issue #42)
- Generated template shipped with broken CI options (PR #41)
- Added MDA install for CI pylint check (Issue #47, PR #48)
- Avoid codecov upload limit failures in generated repositories by not
running codecov in CRON CI (Issue #54, PR#58)
- Removed Python 3.8 from cookiecutter build matrix (Issue #59)

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ jobs:
pytest -n 2 -v --cov={{ cookiecutter.package_name }} --cov-report=xml --color=yes {{ cookiecutter.package_name }}/tests/
- name: codecov
if: github.repository == '{{ cookiecutter.github_host_account }}/{{ cookiecutter.repo_name }}' && github.event_name != 'schedule'
uses: codecov/codecov-action@v3
with:
file: coverage.xml
Expand Down

0 comments on commit cfd89d6

Please sign in to comment.