Revert "Rm additional file check for scheduled tests (#11192)" (#11297)

This reverts commit ff90bb59bf.

Requires #11296 to merge first.
This commit is contained in:
Predrag Gruevski 2023-10-04 11:35:55 -04:00 committed by GitHub
parent b0893c7c6a
commit 88c5349196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,3 +63,15 @@ jobs:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: |
make scheduled_tests
- name: Ensure the tests did not create any additional files
shell: bash
run: |
set -eu
STATUS="$(git status)"
echo "$STATUS"
# grep will exit non-zero if the target message isn't found,
# and `set -e` above will cause the step to fail.
echo "$STATUS" | grep 'nothing to commit, working tree clean'