File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -37,21 +37,13 @@ jobs:
3737 - name : Run tests
3838 timeout-minutes : 10
3939 run : |
40- set +e # Don't exit on first failure
41- ulimit -c 0
42- export TOKENIZERS_PARALLELISM=false
43- export RAG_TEST=1
44- export PYTORCH_TEST_WITH_SLOW=1
40+ RAG_TEST=1 uv run --no-project pytest -m rag --collect-only -q > test_list.txt 2>&1
4541
46- # Collect test names into a file
47- uv run --no-project pytest -m rag --collect-only -q > test_list.txt 2>&1
48-
49- # Filter for test node IDs and run them
5042 grep "::" test_list.txt | while IFS= read -r test; do
5143 echo "========================================="
5244 echo "Running: $test"
5345 echo "========================================="
54- uv run --no-project pytest -m rag "$test" -v
46+ RAG_TEST=1 uv run --no-project pytest -m rag "$test" -v
5547 exit_code=$?
5648 if [ $exit_code -eq 0 ]; then
5749 echo "✓ PASSED: $test"
You can’t perform that action at this time.
0 commit comments