From 83d34c2fa37cbef85a7284cee2699ceddddc3ea9 Mon Sep 17 00:00:00 2001 From: Catherine Noll Date: Sun, 28 Apr 2024 16:04:10 -0400 Subject: [PATCH] put report back in --- .../pipelines/airbyte_ci/connectors/test/steps/common.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/common.py b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/common.py index e6d5120d4fb5..92b2a6acaeea 100644 --- a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/common.py +++ b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/common.py @@ -390,12 +390,12 @@ async def _run(self, connector_under_test_container: Container) -> StepResult: regression_tests_artifacts_dir = str(self.regression_tests_artifacts_dir) path_to_report = f"{regression_tests_artifacts_dir}/session_{self.run_id}/report.html" - # await container.file(path_to_report).export(path_to_report) + await container.file(path_to_report).export(path_to_report) exit_code, stdout, stderr = await get_exec_result(container) - # with open(path_to_report, "r") as fp: - # regression_test_report = fp.read() + with open(path_to_report, "r") as fp: + regression_test_report = fp.read() return StepResult( step=self, @@ -403,7 +403,7 @@ async def _run(self, connector_under_test_container: Container) -> StepResult: stderr=stderr, stdout=stdout, output=container, - # report=regression_test_report, + report=regression_test_report, ) async def _build_regression_test_container(self, target_container_id: str) -> Container: