Update nosetests.yml

pull/219/head
Raphaël Vinot 2021-06-16 18:04:03 -07:00 committed by GitHub
parent 6898181e83
commit 0f79d1479c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ jobs:
- name: Make sure SRIs are up-to-date
run: |
poetry run tools/generate_sri.py
if $?; then
git diff --quiet website/web/sri.txt
if ! [ $? == 0 ] ; then
echo "SRIs not up-to-date, you must run tools/generate_sri.py"
exit 1
fi