Skip to content

Commit

Permalink
Fix test changes script
Browse files Browse the repository at this point in the history
  • Loading branch information
k-nut committed Feb 10, 2025
1 parent 6c4666b commit c591571
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ fi
echo "Using head reference: ${HEAD_REF}"

CHANGED_SCRAPERS=$(git whatchanged --name-only --pretty="" origin/main..${HEAD_REF} |
grep spiders || true |
grep -v helper || true |
grep spiders |
grep -v helper |
sed 's/jedeschule\/spiders\///' |
sed 's/\.py//' |
sed 's/_/\-/' |
uniq)
uniq) || true

if [ -z "$CHANGED_SCRAPERS" ]; then
echo "No scrapers were changed"
Expand Down

0 comments on commit c591571

Please sign in to comment.