diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0986ddd05c6e4d5abfb87a38b5c25dcd56d88d7d..63adfad9a30e337b22c30863e44c023678a61503 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -98,21 +98,25 @@ half_fat_tests: image: lb584/ews_coordinator:latest script: -# - cd $CI_PROJECT_DIR/tests/unit/coordinator/ -# - python3 -m coverage run -m unittest * -# - python -m coverage report -# - python -m coverage html -d $CI_PROJECT_DIR/coverage - - cd $CI_PROJECT_DIR/tests/integration/partial/ - - python3 -m coverage run -m unittest test_advisory.py + - cd $CI_PROJECT_DIR/tests/unit/coordinator/ + - python3 -m coverage run -m unittest * + - python -m coverage report + - python -m coverage html -d $CI_PROJECT_DIR/coverage + - pytest --junitxml=report.xml +# - cd $CI_PROJECT_DIR/tests/integration/partial/ +# - python3 -m coverage run -m unittest test_advisory.py # - python3 -m coverage run -m unittest test_deposition.py # - python3 -m coverage run -m unittest test_env_suit.py # - python3 -m coverage run -m unittest test_survey.py - - python3 -m coverage report - - python3 -m coverage html -d $CI_PROJECT_DIR/coverage - - ls +# - python3 -m coverage report +# - python3 -m coverage html -d $CI_PROJECT_DIR/coverage +# - ls artifacts: + when: always paths: - $CI_PROJECT_DIR/coverage + reports: + junit: report.xml expire_in: 10 days half_fat_epi_tests: