You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why doing this "FAILED" grep in bash, which makes things more error prone and harder to maintain. I would just do the "FAIL" detection directly in test_failure_handler.py.
Also: I would pass the pytest_output.txt path explicitly to the test_failure_handler.py script instead of brittle hardcoding of a relative path it in the script:
(as added by e16e711 for #152)
I guess it's probably easier to just remove the whole if grep -q "FAILED" qa/benchmar... else... guard as the step will now only run on failure anyway
soxofaan
changed the title
test_failure_handler improvments
test_failure_handler improvements
Apr 18, 2025
apex_algorithms/.github/workflows/benchmarks.yaml
Lines 55 to 59 in c6e12ea
Why doing this "FAILED" grep in bash, which makes things more error prone and harder to maintain. I would just do the "FAIL" detection directly in test_failure_handler.py.
Also: I would pass the
pytest_output.txt
path explicitly to thetest_failure_handler.py
script instead of brittle hardcoding of a relative path it in the script:apex_algorithms/qa/tools/apex_algorithm_qa_tools/test_failure_handler.py
Line 203 in c6e12ea
The text was updated successfully, but these errors were encountered: