Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template CI workflow: do not run codecov coverage in CRON CI #58

Merged
merged 8 commits into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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