Spaces:
Running
Running
Exclude `_version.py` from coverage analysis
Browse files- .codecov.yml +13 -0
.codecov.yml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
coverage:
|
| 2 |
+
status:
|
| 3 |
+
patch:
|
| 4 |
+
# Exclude the version file from patch coverage checks
|
| 5 |
+
paths:
|
| 6 |
+
- "src/slidedeckai/_version.py":
|
| 7 |
+
target: auto
|
| 8 |
+
# Set the patch coverage requirement to 0% for this specific file
|
| 9 |
+
threshold: 0%
|
| 10 |
+
|
| 11 |
+
ignore:
|
| 12 |
+
# Optionally ignore the entire version file from total coverage calculation too
|
| 13 |
+
- "src/slidedeckai/_version.py"
|