File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 9595 name : Test Programs
9696 runs-on : ubuntu-latest
9797 needs : format_and_lint_programs
98+ env :
99+ EJECT_FUZZ_FIXTURES_FD : " fuzz/blob"
100+ EJECT_FUZZ_FIXTURES_JSON_FD : " fuzz/json"
98101 steps :
99102 - name : Git Checkout
100103 uses : actions/checkout@v4
@@ -108,6 +111,15 @@ jobs:
108111
109112 - name : Test Programs
110113 run : pnpm programs:test
114+
115+ - name : Check Working Directory
116+ run : |
117+ if [ -n "$(git status --porcelain)" ]; then
118+ test -z "$(git status --porcelain)"
119+ echo "Generated test fixtures have changed. Please set the `EJECT_FUZZ_FIXTURES_FD` and `EJECT_FUZZ_FIXTURES_JSON_FD`, \
120+ remove the existing fixtures, run the tests, and commit the updated fixtures.";
121+ exit 1;
122+ fi
111123
112124 bench_program_compute_units :
113125 name : Benchmark Program Compute Units
You can’t perform that action at this time.
0 commit comments