File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ set -eux
88
99SUITE=$1
1010FLOW=$2
11+ ARTIFACT_DIR=$3
1112
1213echo " Running backend test job for suite $SUITE , flow $FLOW ."
14+ echo " Saving job artifacts to $ARTIFACT_DIR ."
1315
1416# The generic Linux job chooses to use base env, not the one setup by the image
1517eval " $( conda shell.bash hook) "
@@ -22,4 +24,4 @@ conda activate "${CONDA_ENV}"
2224# We need the runner to test the built library.
2325PYTHON_EXECUTABLE=python .ci/scripts/setup-linux.sh --build-tool cmake --build-mode Release
2426
25- python -m executorch.backends.test.suite.runner $SUITE --flow $FLOW --report test_results.csv
27+ python -m executorch.backends.test.suite.runner $SUITE --flow $FLOW --report " $ARTIFACT_DIR / test_results.csv"
Original file line number Diff line number Diff line change 5050 docker-image : ci-image:executorch-ubuntu-22.04-clang12
5151 submodules : recursive
5252 timeout : 90
53+ upload-artifact : test-report-${{ matrix.flow }}-${{ matrix.suite }
5354 script : |
5455 set -eux
55- .ci/scripts/backend-test-linux.sh "${{ matrix.suite }}" "${{ matrix.flow }}"
56+ .ci/scripts/backend-test-linux.sh "${{ matrix.suite }}" "${{ matrix.flow }}" "${RUNNER_ARTIFACT_DIR}"
You can’t perform that action at this time.
0 commit comments