Skip to content

Commit

Permalink
Fix cache info assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Mar 15, 2024
1 parent a37c70f commit 7c17907
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ runs:
python3 -m pip cache list || true
# assert no whl files have been built
python3 -m pip cache info | grep "Locally built wheels size:" | (! grep -v "Locally built wheels size: 0")
if [ "$(python3 -m pip cache info | grep "Number of locally built wheels:")" != "Number of locally built wheels: 0" ]
then
echo "Dependency whl files have been built"
exit 1
fi
shell: bash

- name: Update expectation files
Expand Down

0 comments on commit 7c17907

Please sign in to comment.