Loading .coveragerc 0 → 100644 +6 −0 Original line number Diff line number Diff line [run] command_line=-m pytest --junit-xml=testresults.xml source=. [report] precision=2 No newline at end of file .gitignore +2 −0 Original line number Diff line number Diff line .idea __pycache__ .coverage testresults.xml .gitlab-ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,20 @@ build-docker: only: - master # End of adapted snippet test-backend: image: ghcr.io/astral-sh/uv:python3.12-bookworm stage: test before_script: - uv sync --locked script: - uv run coverage run - uv run coverage report - uv run coverage xml coverage: '/TOTAL .* (\d{1,3}.\d{2})%/' artifacts: reports: coverage_report: coverage_format: cobertura path: coverage.xml junit: testresults.xml pyproject.toml +6 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,9 @@ Issues = "https://gitlab.cl.uni-heidelberg.de/fachschaft/coliverter/-/issues" [build-system] requires = ["hatchling >= 1.26"] build-backend = "hatchling.build" [dependency-groups] dev = [ "coverage>=7.12.0", "pytest>=9.0.2", ] uv.lock +131 −2 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
.coveragerc 0 → 100644 +6 −0 Original line number Diff line number Diff line [run] command_line=-m pytest --junit-xml=testresults.xml source=. [report] precision=2 No newline at end of file
.gitignore +2 −0 Original line number Diff line number Diff line .idea __pycache__ .coverage testresults.xml
.gitlab-ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,20 @@ build-docker: only: - master # End of adapted snippet test-backend: image: ghcr.io/astral-sh/uv:python3.12-bookworm stage: test before_script: - uv sync --locked script: - uv run coverage run - uv run coverage report - uv run coverage xml coverage: '/TOTAL .* (\d{1,3}.\d{2})%/' artifacts: reports: coverage_report: coverage_format: cobertura path: coverage.xml junit: testresults.xml
pyproject.toml +6 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,9 @@ Issues = "https://gitlab.cl.uni-heidelberg.de/fachschaft/coliverter/-/issues" [build-system] requires = ["hatchling >= 1.26"] build-backend = "hatchling.build" [dependency-groups] dev = [ "coverage>=7.12.0", "pytest>=9.0.2", ]