Skip to content

Commit c76fd85

Browse files
committed
Move test verbosity into .bazelrc where it belongs
Add --test_summary=detailed and --test_arg=-test.v to .bazelrc so individual test cases show up in every bazelisk test run, locally and in CI, without per-command flags.
1 parent 73ba67c commit c76fd85

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ build --incompatible_strict_action_env
33

44
# Only print test output on failure
55
test --test_output=errors
6+
test --test_summary=detailed
7+
test --test_arg=-test.v
68

79
# Some tests need $HOME (e.g. for config files)
810
test --test_env=HOME

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
repository-cache: true
2222

2323
- name: Build and test
24-
run: bazelisk test //... --test_output=all --test_arg=-test.v
24+
run: bazelisk test //...
2525

2626
- name: Conformance tests
2727
if: >-
@@ -38,4 +38,4 @@ jobs:
3838
fi
3939
bazelisk test //conformancetest:conformancetest_test //integrationtest:integrationtest_test \
4040
--test_env=GOOGLE_API_KEY --test_env=OPENAI_API_KEY --test_env=ANTHROPIC_API_KEY \
41-
--test_output=all --test_arg=-test.v
41+
--test_output=all

0 commit comments

Comments
 (0)