Skip to content

Commit

Permalink
Update coverage uploading/commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
VeckoTheGecko committed Sep 10, 2024
1 parent b894e10 commit 1c06d84
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: matrix.python-version == '3.12'
with:
flags: unit-tests
- name: Upload test results
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ coverage:
default:
informational: true
comment:
# Wait until all builds that upload coverage report have completed before commenting on
# the PR with the coverage report.
after_n_builds: 6
layout: " diff, flags, files"
behavior: default
require_changes: true
Expand Down
6 changes: 3 additions & 3 deletions docs/community/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Parcels, as of v3.1.0, has adopted versioning and deprecation policies.

Parcels mostly follows [semantic versioning](https://semver.org/), where the version number (e.g., v2.1.0) is thought of as `MAJOR.MINOR.PATCH`.

> MAJOR version for incompatible API changes
> MINOR version for added functionality in a backward compatible manner
> PATCH version for backward compatible bug fixes
> MAJOR version for incompatible API changes<br>
> MINOR version for added functionality in a backward compatible manner<br>
> PATCH version for backward compatible bug fixes<br>
Parcels doesn't implement strict backwards compatibility between minor versions. We may make small changes that deprecate elements of the codebase (e.g., an obscure parameter that is no longer needed). Such deprecations will follow our deprecation policy.

Expand Down

0 comments on commit 1c06d84

Please sign in to comment.