File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 3131 run : uv build && uv run twine check dist/*
3232 - name : Run tests
3333 run : make core/tests
34- - name : Rename coverage file
35- run : mv .coverage .coverage.${{ matrix.python-version}}
3634 - name : " Save coverage artifact"
3735 uses : actions/upload-artifact@v4
3836 with :
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ build: ## Build the python package
2020
2121tests : ${TESTS} # # Run tests for each package
2222${TESTS} : % /tests:
23- uv run pytest -v --cov=testcontainers. $* $* /tests
23+ uv run coverage run --parallel -m pytest -v $* /tests
2424
2525coverage : # # Target to combine and report coverage.
2626 uv run coverage combine
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ filterwarnings = [
285285]
286286
287287[tool .coverage .run ]
288+ source = [" testcontainers.core" ] # we only check coverage for core atm
288289branch = true
289290omit = [" oracle.py" ]
290291
@@ -294,6 +295,13 @@ exclude_lines = [
294295 " raise NotImplementedError" ,
295296]
296297
298+ [tool .coverage .paths ]
299+ source = [
300+ " {projectroot}/core/" ,
301+ " */site-packages" ,
302+ " */dist-packages" ,
303+ ]
304+
297305[tool .ruff ]
298306target-version = " py39"
299307line-length = 120
You can’t perform that action at this time.
0 commit comments