From 807e864a8e59b075675ed8276a563f4d899e55ee Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Fri, 3 Feb 2023 15:45:15 +0000 Subject: [PATCH] adding html test report --- .gitlab-ci.yml | 2 +- tests/integration/partial/run_tests.sh | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3fb17e..7ae207b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,7 +99,7 @@ half_fat_tests: script: - cd $CI_PROJECT_DIR/tests/unit/coordinator/ - - python3 -m coverage run -m run_rest_suite.py $CI_PROJECT_DIR/test_reports + - t $CI_PROJECT_DIR/test_reports - python -m coverage report - python -m coverage html -d $CI_PROJECT_DIR/coverage # - cd $CI_PROJECT_DIR/tests/integration/partial/ diff --git a/tests/integration/partial/run_tests.sh b/tests/integration/partial/run_tests.sh index d0980bf..4c57e09 100755 --- a/tests/integration/partial/run_tests.sh +++ b/tests/integration/partial/run_tests.sh @@ -21,8 +21,9 @@ export PYTHONPATH=$PYTHONPATH:$flagdir:$epimodel:$advisory:$met_processing:$met_ echo $PYTHONPATH -python3 -m unittest test_advisory.py -python3 -m unittest test_deposition.py -python3 -m unittest test_env_suit.py -python3 -m unittest test_epi.py -python3 -m unittest test_survey.py \ No newline at end of file +python3 -m coverage run run_test_suite.py +#python3 -m unittest test_advisory.py +#python3 -m unittest test_deposition.py +#python3 -m unittest test_env_suit.py +#python3 -m unittest test_epi.py +#python3 -m unittest test_survey.py -- GitLab