Skip to content

Commit

Permalink
fix (build): Run 'mod graph' in test to for non-regression
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Mar 2, 2025
1 parent beee6f9 commit 07c3a11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ if [ -z "${CI:-""}" ]; then
"$BZL" query //... | xargs "$BZL" test --explain ~/bazel-test-explain.txt --test_size_filters=small

else # On CI
# Non-regression for problems like https://github.com/enola-dev/enola/issues/1146 and https://github.com/enola-dev/enola/issues/1164
bazelisk mod graph --depth=1
# See https://github.com/enola-dev/enola/issues/1116 why it's worth to re-PIN, on CI:
REPIN=1 bazelisk run @enola_maven//:pin
# Runs git status and git diff to ensure no uncommitted changes
Expand Down

0 comments on commit 07c3a11

Please sign in to comment.