diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 779577ff68d8da2dd60fc529b9429aeac5a7f399..d9a8b137174310717ce1b5c386a84094de37aac0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ tests: - source venv/bin/activate - pip install '.[test]' script: - - pytest -sv --pyargs exposed.tests + - pytest -sv coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: paths: diff --git a/pyproject.toml b/pyproject.toml index 5c75ad26d85b010997f4a75362ee8bb46e6c8754..4d08b0b21af830eaf838123a0c55b4f934224aa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,4 +87,5 @@ addopts = [ "--cov-report=html:html/coverage", "--cov-report=xml:coverage.xml", "--junitxml=junit-coverage.xml", + "--pyargs", "exposed", ]