File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -344,10 +344,9 @@ jobs:
344344 # abuse knowledge that nsys-jax is installed editable, so the tests exist
345345 test_path=$(python -c 'import importlib.resources; print(importlib.resources.files("nsys_jax").joinpath("..", "tests").resolve())')
346346 pytest --basetemp=/opt/output/pytest-tmp --report-log=/opt/output/pytest-report.jsonl "${test_path}"
347- # change permissions to the tmp directory so GHA can process it afterwards
348- chmod -R a+rw /opt/output/pytest-tmp
349-
350347 EOF
348+ sudo chown -R $USER:$USER pytest-tmp/ pytest-report.jsonl test-nsys-jax.log 2>/dev/null || true
349+ chmod -R u+rwX,go+rX pytest-tmp/ 2>/dev/null || true
351350 STATISTICS_SCRIPT : |
352351 summary_line=$(tail -n1 test-nsys-jax.log)
353352 num_errors=$(echo $summary_line | grep -oE '[0-9]+ error' | awk '{print $1} END { if (!NR) print 0}')
You can’t perform that action at this time.
0 commit comments