File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -269,30 +269,39 @@ commands:
269
269
- run :
270
270
name : Run fx tests
271
271
command : |
272
+ mkdir -p /tmp/artifacts/test_results
272
273
# one fix pending to enable below
273
274
# cd py/torch_tensorrt/fx/test
274
275
# pytest $(find . -name '*.py' | grep -v test_dispatch* | grep -v test_setitem*)
275
-
276
276
cd py/torch_tensorrt/fx/test
277
277
pushd converters/acc_op
278
- pytest
278
+ pytest --junitxml=/tmp/artifacts/test_results/fx/converters/acc_op/test_results.xml
279
279
popd
280
280
pushd passes
281
281
list_passes=$(ls | grep -v test_setitem*)
282
- pytest $list_passes
282
+ pytest $list_passes --junitxml=/tmp/artifacts/test_results/fx/passes/test_results.xml
283
+ popd
284
+ pushd core
285
+ pytest --junitxml=/tmp/artifacts/test_results/fx/core/test_results.xml
286
+ popd
283
287
# pushd quant
284
- # pytest
288
+ # pytest --junitxml=/tmp/artifacts/test_results/fx/quant/test_results.xml
285
289
# popd
286
290
pushd tools
287
- pytest
291
+ pytest --junitxml=/tmp/artifacts/test_results/fx/tools/test_results.xml
288
292
popd
289
293
pushd trt_lower
290
- pytest
294
+ pytest --junitxml=/tmp/artifacts/test_results/fx/trt_lower/test_results.xml
291
295
popd
292
296
pushd tracer
293
297
list_tracer=$(ls | grep -v test_dispatch_*)
294
- pytest $list_tracer
298
+ pytest $list_tracer --junitxml=/tmp/artifacts/test_results/fx/tracer/test_results.xml
295
299
popd
300
+ cd ~/project
301
+ - store_test_results :
302
+ path : /tmp/artifacts
303
+ - store_artifacts :
304
+ path : /tmp/testlogs
296
305
297
306
# Define a job to be invoked later in a workflow.
298
307
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
You can’t perform that action at this time.
0 commit comments