Skip to content

Commit 88c5349

Browse files
authored
Revert "Rm additional file check for scheduled tests (#11192)" (#11297)
This reverts commit ff90bb5. Requires #11296 to merge first.
1 parent b0893c7 commit 88c5349

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/scheduled_test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,15 @@ jobs:
6363
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
6464
run: |
6565
make scheduled_tests
66+
67+
- name: Ensure the tests did not create any additional files
68+
shell: bash
69+
run: |
70+
set -eu
71+
72+
STATUS="$(git status)"
73+
echo "$STATUS"
74+
75+
# grep will exit non-zero if the target message isn't found,
76+
# and `set -e` above will cause the step to fail.
77+
echo "$STATUS" | grep 'nothing to commit, working tree clean'

0 commit comments

Comments
 (0)