Skip to content

Commit

Permalink
add checks to make sure things were deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
John Waller committed Mar 1, 2024
1 parent 8495ccf commit 7a50b3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python_live_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: Delete vcr cassettes so that it runs live tests
run: |
rm -rf test/vcr_cassettes/*
echo ls test/vcr_cassettes/*
if [ "$(ls -A test/vcr_cassettes)" ]; then
echo "Directory is not empty"
exit 1
fi
- name: Tests
run: pytest
Expand Down

0 comments on commit 7a50b3e

Please sign in to comment.