forked from twisted/twisted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request twisted#1543 from twisted/10121-pypy-no-coverage
Author: adiroiban Reviewer: wiml, altendky Fixes: ticket:10121 Fix random PyPy CI failures. Improve GHA CI speed. Improve coverage reporting.
- Loading branch information
Showing
5 changed files
with
61 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,43 @@ | ||
# | ||
# For documentation see https://codecov.io/gh/twisted/twisted/settings/yaml | ||
# For documentation: https://docs.codecov.io/docs/codecovyml-reference | ||
# Twisted settings: https://codecov.io/gh/twisted/twisted/settings/yaml | ||
# | ||
# We want 100% coverage for new patches to make sure we are always increasing | ||
# the coverage. | ||
# | ||
codecov: | ||
require_ci_to_pass: yes | ||
notify: | ||
# We have at least 10 builds in GitHub Actions and 12 in Azure | ||
# and lint + mypy + docs + ReadTheDocs | ||
after_n_builds: 15 | ||
wait_for_ci: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
status: | ||
patch: | ||
default: | ||
# New code should have 100% CI coverage as the minimum | ||
# quality assurance measurement. | ||
# If there is a good reason for new code not to have coverage, | ||
# add inline pragma comments. | ||
target: 100% | ||
project: | ||
default: | ||
# Temporary allow for a bit of slack in overall code coverage due to | ||
# swinging coverage that is not triggered by changes in a PR. | ||
# See: https://twistedmatrix.com/trac/ticket/10170 | ||
threshold: 0.02% | ||
|
||
|
||
# We don't want to receive general PR comments about coverage. | ||
# We have the commit status checks and that should be enough. | ||
# See https://docs.codecov.io/docs/pull-request-comments | ||
comment: false | ||
|
||
comment: off | ||
# See https://docs.codecov.io/docs/github-checks | ||
github_checks: | ||
# We want codecov to send inline PR comments for missing coverage. | ||
annotations: true |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters