Skip to content

Instantly share code, notes, and snippets.

@doaa-altarawy
Last active March 19, 2024 08:00
Show Gist options
  • Save doaa-altarawy/9e324f2486e53d38de817e0e38e58175 to your computer and use it in GitHub Desktop.
Save doaa-altarawy/9e324f2486e53d38de817e0e38e58175 to your computer and use it in GitHub Desktop.
Codecov yml configuration example
# For more configuration details:
# https://docs.codecov.io/docs/codecov-yaml
# Check if this file is valid by running in bash:
# curl -X POST --data-binary @.codecov.yml https://codecov.io/validate
# Coverage configuration
# ----------------------
coverage:
status:
patch: false
range: 70..90 # First number represents red, and second represents green
# (default is 70..100)
round: down # up, down, or nearest
precision: 2 # Number of decimal places, between 0 and 5
# Ignoring Paths
# --------------
# which folders/files to ignore
ignore:
- */tests/.*
- */_version.py
- setup.py
- versioneer.py
# Pull request comments:
# ----------------------
# Diff is the Coverage Diff of the pull request.
# Files are the files impacted by the pull request
comment:
layout: diff, files # accepted in any order: reach, diff, flags, and/or files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment