Skip to content

Commit 2b135d4

Browse files
committed
chore: force 100% coverage in GHA
1 parent 1fa5fff commit 2b135d4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ jobs:
3434
- name: Run tests
3535
run: uv run pytest --showlocals
3636

37+
coverage:
38+
name: py${{ matrix.python }} unit tests
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v4
42+
- name: Install uv
43+
uses: astral-sh/setup-uv@v3
44+
with:
45+
enable-cache: true
46+
- name: Install Python ${{ matrix.python }}
47+
run: uv python install ${{ matrix.python }}
48+
- name: Run tests
49+
run: uv run pytest --cov --cov-fail-under=100
50+
3751
downstream-tests:
3852
name: py${{ matrix.python }} ${{ matrix.downstream }} downstream unit tests
3953
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)