Skip to content

Commit a178d41

Browse files
committed
Updated config.yml
1 parent 7ebec82 commit a178d41

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.circleci/config.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,30 +269,39 @@ commands:
269269
- run:
270270
name: Run fx tests
271271
command: |
272+
mkdir -p /tmp/artifacts/test_results
272273
# one fix pending to enable below
273274
# cd py/torch_tensorrt/fx/test
274275
# pytest $(find . -name '*.py' | grep -v test_dispatch* | grep -v test_setitem*)
275-
276276
cd py/torch_tensorrt/fx/test
277277
pushd converters/acc_op
278-
pytest
278+
pytest --junitxml=/tmp/artifacts/test_results/fx/converters/acc_op/test_results.xml
279279
popd
280280
pushd passes
281281
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
283287
# pushd quant
284-
# pytest
288+
# pytest --junitxml=/tmp/artifacts/test_results/fx/quant/test_results.xml
285289
# popd
286290
pushd tools
287-
pytest
291+
pytest --junitxml=/tmp/artifacts/test_results/fx/tools/test_results.xml
288292
popd
289293
pushd trt_lower
290-
pytest
294+
pytest --junitxml=/tmp/artifacts/test_results/fx/trt_lower/test_results.xml
291295
popd
292296
pushd tracer
293297
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
295299
popd
300+
cd ~/project
301+
- store_test_results:
302+
path: /tmp/artifacts
303+
- store_artifacts:
304+
path: /tmp/testlogs
296305

297306
# Define a job to be invoked later in a workflow.
298307
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs

0 commit comments

Comments
 (0)