Skip to content

Commit 7ca8ad5

Browse files
authored
Update testing_rag.yml
1 parent a6ee721 commit 7ca8ad5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/testing_rag.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)