diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1483b1d..04d32ccb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,11 +87,12 @@ mypy: pytest: stage: testing extends: .python - script: > - - pytest --cov --cov-report term + script: + - > + pytest --cov --cov-report term --cov-report xml:coverage.xml --junitxml=report.xml - --gitlab-code-quality-report=pytest-warnings.json +# --gitlab-code-quality-report=pytest-warnings.json # can restore when it installs ok coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: when: always @@ -99,7 +100,7 @@ pytest: - report.xml reports: junit: report.xml - codequality: pytest-warnings.json +# codequality: pytest-warnings.json coverage_report: coverage_format: cobertura path: coverage.xml diff --git a/pyproject.toml b/pyproject.toml index 3a69ef5e..7e2d85e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dev = [ "ruff", "mypy[reports]", "mypy-gitlab-code-quality", - "pytest-gitlab-code-quality", +# "pytest-gitlab-code-quality", # pytest version constraint clashes with labthings "pytest", ] pi = [