Skip to content
Snippets Groups Projects
Commit 7b79ba1c authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fuse testsuite and coverage nox sessions

parent 467006b0
No related branches found
No related tags found
1 merge request!10Introduce Nox for Test Automation
Pipeline #71683 passed
...@@ -36,7 +36,6 @@ testsuite: ...@@ -36,7 +36,6 @@ testsuite:
- docker - docker
script: script:
- nox --session testsuite - nox --session testsuite
- nox --session report_coverage
coverage: '/TOTAL.*\s+(\d+%)$/' coverage: '/TOTAL.*\s+(\d+%)$/'
artifacts: artifacts:
when: always when: always
......
...@@ -61,12 +61,6 @@ def testsuite(session: nox.Session): ...@@ -61,12 +61,6 @@ def testsuite(session: nox.Session):
"--cov-report=term", "--cov-report=term",
"--cov-config=pyproject.toml", "--cov-config=pyproject.toml",
) )
@nox.session(python="3.10", tags=["report"])
def report_coverage(session: nox.Session):
"""Produce HTML and XML coverage reports"""
session.install("coverage[toml]")
session.run("coverage", "html") session.run("coverage", "html")
session.run("coverage", "xml") session.run("coverage", "xml")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment