tenseleyflow/documentlanguagemodel / 045e192

Browse files

ci: coverage gate ≥95% on src/dlm/train/preference

Authored by espadonne
SHA
045e192a129c010a01688be824e0937479fa01cf
Parents
eac5b80
Tree
bdc1307

1 changed file

StatusFile+-
M .github/workflows/ci.yml 8 0
.github/workflows/ci.ymlmodified
@@ -103,6 +103,14 @@ jobs:
103103
             --cov-report=term-missing \
104104
             --cov-fail-under=95
105105
 
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
+
106114
       - name: Coverage gate — src/dlm/eval ≥ 95% (Sprint 10)
107115
         if: matrix.os == 'ubuntu-latest'
108116
         run: |