.gitlab-ci.yml: add integration_tests.py to pytest

This commit is contained in:
InsanePrawn 2022-09-22 06:33:56 +02:00
parent c027afd58a
commit d5c5d19c94

View file

@ -32,7 +32,7 @@ pytest:
- useradd -m kupfer - useradd -m kupfer
- chmod 777 . - chmod 777 .
script: script:
- script -e -c 'su kupfer -s /bin/bash -c "./pytest.sh --junit-xml=pytest-report.xml --cov-report=xml:coverage.xml"' - script -e -c 'su kupfer -s /bin/bash -c "INTEGRATION_TESTS_USE_GLOBAL_CONFIG=TRUE ./pytest.sh --junit-xml=pytest-report.xml --cov-report=xml:coverage.xml integration_tests.py"'
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts: artifacts:
reports: reports: