Skip to content

Commit

Permalink
Only generate tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Oct 22, 2024
1 parent eb02750 commit dda9e38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
run: env && go env && pwd
- name: tree
run: tree
- name: Generate
- name: Generate Tests
run: |
cd gopath/github.com/katydid/testsuite
PATH=$HOME/bin:$PATH make regenerate
PATH=$HOME/bin:$PATH make regenerate-tests
- name: Build
run: |
cd gopath/github.com/katydid/testsuite
Expand Down
2 changes: 1 addition & 1 deletion validator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ regenerate:
regenerate-tests:
make nuke-tests
(cd gen-validator-tests && make regenerate && go install .)
gen-validator-tests
gen-validator-tests -seed 12345

nuke-tests:
rm -rf ./tests/ || true
Expand Down

0 comments on commit dda9e38

Please sign in to comment.