From a6d9cc128168fd4387b0212d22871a1f234cce24 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Thu, 2 Feb 2023 18:01:40 +0000 Subject: [PATCH] adding custom date params to pipeline --- .gitlab-ci.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0986ddd..63adfad 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: -- GitLab