diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac33be6af9a2465feb2d4e485ff586ebbf46e5f0..87620e51f570c4150fff140e1136e2e7111a6a84 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 21688d5944b6265a96fd65460923f1945a369041..73b4f6c4cc98bbee1b2311b63364381f3cfb3d4b 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()