diff --git a/.github/workflows/test-examples.yml b/.github/workflows/test-examples.yml index 5c712a8..4eaa2de 100644 --- a/.github/workflows/test-examples.yml +++ b/.github/workflows/test-examples.yml @@ -74,6 +74,9 @@ jobs: notebook=$(basename -- "${NOTEBOOK_TO_TEST}") echo "TEST_DIRECTORY=${directory}" >> "$GITHUB_ENV" echo "TEST_NOTEBOOK=${notebook}" >> "$GITHUB_ENV" + echo "COMET_LOG_OTHER_TEST_NOTEBOOK=${NOTEBOOK_TO_TEST}" >> "$GITHUB_ENV" + echo "COMET_LOG_OTHER_GITHUB_RUN=${{github.run_number}}" >> "$GITHUB_ENV" + echo "COMET_AUTO_LOG_OUTPUT_LOGGER=simple" >> "$GITHUB_ENV" - name: debugging if: runner.debug == '1' @@ -148,6 +151,12 @@ jobs: python -m pip install --upgrade pip directory=$(dirname -- "${SCRIPT_TO_TEST}") pip install -r "${directory}"/requirements.txt + - name: Prepare env variables + run: | + script=$(basename -- "${SCRIPT_TO_TEST}") + echo "COMET_LOG_OTHER_SCRIPT_TO_TEST=${SCRIPT_TO_TEST}" >> "$GITHUB_ENV" + echo "COMET_LOG_OTHER_GITHUB_RUN=${{github.run_number}}" >> "$GITHUB_ENV" + echo "COMET_AUTO_LOG_OUTPUT_LOGGER=simple" >> "$GITHUB_ENV" - name: Test examples run: | directory=$(dirname -- "${SCRIPT_TO_TEST}")