From 206648d82bad2961d4baaa72ca94de0608361d33 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Fri, 12 Jul 2024 11:18:18 +0100 Subject: [PATCH] more test work --- .gitlab-ci.yml | 9 +++++++-- tests/integration/partial/integration_test_utils.py | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac33be6..87620e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,9 +123,14 @@ full_fat_depo: --config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/depo_config_EastAfrica_fc_live.json --outdir ${TEST_WORKSPACE_DIR}/integration/full/ --email_cred /storage/app/EWS_prod/envs/credentials/Cred_gmail.json - --test_report_dir $CI_PROJECT_DIR/test_reports + --test_report_dir ${TEST_WORKSPACE_DIR}/integration/full/temp_depo_2024-07-12_095208/ --custom_run_date $CUSTOM_RUN_DATE - --custom_dir_prefix "temp_depo_$RUN_TIME" + --custom_dir_prefix temp_depo_2024-07-12_095208 + artifacts: + paths: + - $CI_PROJECT_DIR/coverage + - $CI_PROJECT_DIR/test_reports + expire_in: 10 days full_fat_env_suit: when: manual diff --git a/tests/integration/partial/integration_test_utils.py b/tests/integration/partial/integration_test_utils.py index 21688d5..73b4f6c 100644 --- a/tests/integration/partial/integration_test_utils.py +++ b/tests/integration/partial/integration_test_utils.py @@ -130,7 +130,7 @@ class IntegrationTestUtils: TEST_OUT_PATH, which is the top-level test directory for this run, not the TEST_JOB_DIR, which is the dir for the pipeline being tested """ - runner = HTMLTestRunner(output = IntegrationTestUtils.TEST_OUT_PATH, log = True, report_name = f"{test_prefix}_results") + runner = HTMLTestRunner(output = _test_report_dir, log = True, report_name = f"{test_prefix}_results") result: TestResult = runner.run(tests) return result.wasSuccessful() -- GitLab