Add JSON output to multi-GPU tests (#274)

This commit is contained in:
charleshofer 2025-03-12 11:30:55 -05:00 committed by GitHub
parent 6ee76a8a6d
commit f14a1d0b71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,11 +54,15 @@ run_tests() {
python3 -m pytest \
--html="${LOG_DIR}/multi_gpu_pmap_test_log.html" \
--json-report \
--json-report-file="${LOG_DIR}/multi_gpu_pmap_test_log.json" \
--reruns 3 \
tests/pmap_test.py
python3 -m pytest \
--html="${LOG_DIR}/multi_gpu_multi_device_test_log.html" \
--json-report \
--json-report-file="${LOG_DIR}/multi_gpu_multi_device_test_log.json" \
--reruns 3 \
tests/multi_device_test.py