File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -148,24 +148,18 @@ jobs:
148
148
test_compiled_optimizers.py
149
149
test_compiled_autograd.py
150
150
test_compile_subprocess.py
151
- env :
152
- TEST_FILES : ${{ matrix.test_files }}
153
151
additional_steps : |
154
152
pip install pytest pytest-timeout
155
153
- name : ' torch_xpu_2'
156
154
condition : ${{ contains(inputs.ut, 'torch_xpu') }}
157
155
directory : ' ../pytorch'
158
156
test_files : " test_torchinductor_opinfo.py"
159
- env :
160
- TEST_FILES : ${{ matrix.test_files }}
161
157
additional_steps : |
162
158
pip install pytest pytest-timeout
163
159
- name : ' torch_xpu_3'
164
160
condition : ${{ contains(inputs.ut, 'torch_xpu') }}
165
161
directory : ' ../pytorch'
166
162
test_files : " test_aot_inductor.py"
167
- env :
168
- TEST_FILES : ${{ matrix.test_files }}
169
163
additional_steps : |
170
164
pip install pytest pytest-timeout
171
165
- name : ' xpu_profiling'
@@ -311,6 +305,9 @@ jobs:
311
305
[[ "${{ inputs.keep_going }}" == "true" ]] && keep_going_flag="--keep-going"
312
306
export PYTORCH_TEST_WITH_SLOW=1
313
307
export PYTORCH_TESTING_DEVICE_ONLY_FOR="xpu"
308
+ echo "TEST_FILES<<EOF" >> $GITHUB_ENV
309
+ echo "${{ matrix.test_files }}" >> $GITHUB_ENV
310
+ echo "EOF" >> $GITHUB_ENV
314
311
cat <<EOF > test_files.txt
315
312
$TEST_FILES
316
313
EOF
You can’t perform that action at this time.
0 commit comments