Skip to content

Commit

Permalink
ci: ensure logictests generated code is up to date
Browse files Browse the repository at this point in the history
This code change ensures that generated BUILD files for
logictests are always up to date.

Epic: none
Release note: None
  • Loading branch information
healthy-pod committed May 24, 2023
1 parent 87c2ab0 commit 16f9ba5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ check_workspace_clean 'dev_generate' "Run \`./dev generate\` to automatically re
# docs.
bazel run @go_sdk//:bin/go --ui_event_filters=-DEBUG,-info,-stdout,-stderr --noshow_progress mod tidy
check_workspace_clean 'go_mod_tidy' "Run \`go mod tidy\` to automatically regenerate these."
# Run `generate-logictest` and ensure nothing changes.
bazel run //pkg/cmd/generate-logictest -- -out-dir="$PWD"
check_workspace_clean 'generate_logictest' "Run \`./dev gen testlogic\` to automatically regenerate these."

end_check_generated_code_tests

0 comments on commit 16f9ba5

Please sign in to comment.