diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-25 02:59:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-25 02:59:48 +0000 |
commit | 6dba7fe33f3f508033d1192ef4dbf98707f24140 (patch) | |
tree | d84b5b1ebca79975ae2a30f22c91c7964182c223 /.gitlab-ci.yml | |
parent | Adding debian version 0.1.28. (diff) | |
download | debputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.tar.xz debputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.zip |
Merging upstream version 0.1.29.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6be9bf4..565d0d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,27 @@ tests-unstable: - apt-get build-dep -Ppkg.debputy.ci -y . - dpkg-buildpackage -Ppkg.debputy.ci -us -uc -tc +code-lint-mypy: + stage: ci-test + image: debian:unstable + script: + - apt-get update + - apt-get build-dep -Ppkg.debputy.ci -y . + - apt-get install -y mypy python3-lxml + # Remove the `|| true` once we get to a sufficient level of typing where we can set the minimum bar + - mypy --html-report mypy-report --junit-format per_file --junit-xml mypy-xunit-report.xml --cobertura-xml-report mypy-cobertura-report src tests || true + artifacts: + paths: + - mypy-report + reports: + junit: mypy-xunit-report.xml + coverage_report: + coverage_format: cobertura + path: mypy-cobertura-report/cobertura.xml + except: + variables: + - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + tests-unstable-coverage-without-optional-bd: stage: ci-test image: debian:unstable @@ -111,8 +132,10 @@ pages: script: - mkdir public - mv coverage-report public/ + - mv mypy-report public/ dependencies: - aggregate-coverage + - code-lint-mypy artifacts: paths: - public |