ci: coverage gate ≥95% on src/dlm/train/preference
- SHA
045e192a129c010a01688be824e0937479fa01cf- Parents
-
eac5b80 - Tree
bdc1307
045e192
045e192a129c010a01688be824e0937479fa01cfeac5b80
bdc1307| Status | File | + | - |
|---|---|---|---|
| M |
.github/workflows/ci.yml
|
8 | 0 |
.github/workflows/ci.ymlmodified@@ -103,6 +103,14 @@ jobs: | ||
| 103 | 103 | --cov-report=term-missing \ |
| 104 | 104 | --cov-fail-under=95 |
| 105 | 105 | |
| 106 | + - name: Coverage gate — src/dlm/train/preference ≥ 95% | |
| 107 | + if: matrix.os == 'ubuntu-latest' | |
| 108 | + run: | | |
| 109 | + uv run pytest tests/unit/train/preference \ | |
| 110 | + --cov=src/dlm/train/preference \ | |
| 111 | + --cov-report=term-missing \ | |
| 112 | + --cov-fail-under=95 | |
| 113 | + | |
| 106 | 114 | - name: Coverage gate — src/dlm/eval ≥ 95% (Sprint 10) |
| 107 | 115 | if: matrix.os == 'ubuntu-latest' |
| 108 | 116 | run: | |