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
8
8
9
9
SUITE=$1
10
10
FLOW=$2
11
+ ARTIFACT_DIR=$3
11
12
12
13
echo " Running backend test job for suite $SUITE , flow $FLOW ."
14
+ echo " Saving job artifacts to $ARTIFACT_DIR ."
13
15
14
16
# The generic Linux job chooses to use base env, not the one setup by the image
15
17
eval " $( conda shell.bash hook) "
@@ -22,4 +24,4 @@ conda activate "${CONDA_ENV}"
22
24
# We need the runner to test the built library.
23
25
PYTHON_EXECUTABLE=python .ci/scripts/setup-linux.sh --build-tool cmake --build-mode Release
24
26
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 50
50
docker-image : ci-image:executorch-ubuntu-22.04-clang12
51
51
submodules : recursive
52
52
timeout : 90
53
+ upload-artifact : test-report-${{ matrix.flow }}-${{ matrix.suite }
53
54
script : |
54
55
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