Skip to content

Commit

Permalink
fix: fix pytest process
Browse files Browse the repository at this point in the history
  • Loading branch information
terryyz committed May 9, 2024
1 parent 94d8ca8 commit 02dab46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ gzip -c data/wild-code-bench.jsonl > data/wild-code-bench.jsonl.gz

for name in "${NAMES[@]}"; do

for file in data/processed/*"$name"*wo_doc.py; do
for file in data/processed/*wo_doc.py; do

if ! pytest "$file"; then
echo "Pytest failed on $file, stopping..."
exit 1
fi
done

for file in data/processed/*"$name"*w_doc.py; do
for file in data/processed/*w_doc.py; do

if [[ "$file" == *"f_2248_hanhu"* ]]; then
if [[ "$file" == *"189_"* ]]; then
continue
fi

Expand Down

0 comments on commit 02dab46

Please sign in to comment.