Skip to content
Snippets Groups Projects
Unverified Commit d16251b3 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

TEST: Coverage report and visualization.

parent ae6af491
No related branches found
No related tags found
1 merge request!193Utilities and changes for prefilling json schema masks
Pipeline #65514 passed
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
# Copyright (C) 2018 Research Group Biomedical Physics, # Copyright (C) 2018 Research Group Biomedical Physics,
# Max-Planck-Institute for Dynamics and Self-Organization Göttingen # Max-Planck-Institute for Dynamics and Self-Organization Göttingen
# Copyright (C) 2019 Henrik tom Wörden # Copyright (C) 2019 Henrik tom Wörden
# Copyright (C) 2020 Indiscale GmbH <info@indiscale.com> # Copyright (C) 2020, 2025 Indiscale GmbH <info@indiscale.com>
# Copyright (C) 2020 Daniel Hornung <d.hornung@indiscale.com> # Copyright (C) 2020, 2025 Daniel Hornung <d.hornung@indiscale.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
...@@ -106,6 +106,12 @@ unittest_py3.13: ...@@ -106,6 +106,12 @@ unittest_py3.13:
needs: [ ] needs: [ ]
image: python:3.13 image: python:3.13
script: *python_test_script script: *python_test_script
artifacts:
reports:
coverage_report:
coverage_format: cobertura # or jacoco
path: coverage.xml
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
unittest_py3.14: unittest_py3.14:
allow_failure: true # remove on release allow_failure: true # remove on release
......
...@@ -17,6 +17,6 @@ max-line-length=100 ...@@ -17,6 +17,6 @@ max-line-length=100
[pytest] [pytest]
testpaths = unittests testpaths = unittests
xfail_strict = True xfail_strict = True
addopts = -x -vv --cov=linkahead addopts = -x -vv --cov=linkahead --cov-report xml --cov-report term
pythonpath = src pythonpath = src
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment