You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* enable absolute coverage enforcement. honoring absolute_cov and absolute_cov_percent keys respectively. defaults to 95% coverage required
* ensure that we apply the coverage rc file when generating the coverage xml report
* enable absolute_cov enforcement for azure-ai-ml
Copy file name to clipboardexpand all lines: doc/eng_sys_checks.md
+12
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,18 @@ sphinx = false
138
138
139
139
If a package does not yet have a `pyproject.toml`, creating one with just the section `[tool.azure-sdk-build]` will do no harm to the release of the package in question.
140
140
141
+
### Coverage Enforcement
142
+
143
+
This repository supports enforcement of an absolute coverage % per package. Set:
144
+
145
+
```
146
+
[tool.azure-sdk-build]
147
+
absolute_cov = true
148
+
absolute_cov_percent = 75.00
149
+
```
150
+
151
+
After it is implemented, the `relative_cov` key will enable the prevention of **negative** code coverage contributions.
152
+
141
153
## Environment variables important to CI
142
154
143
155
There are a few differences from a standard local invocation of `tox <env>`. Primarily, these differences adjust the checks to be friendly to parallel invocation. These adjustments are necessary to prevent random CI crashes.
0 commit comments