Skip to content

Commit 8f234a9

Browse files
balajiyalam2balajiyalam2
authored andcommitted
formatted due to test failures
1 parent 0d4554e commit 8f234a9

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
common --lockfile_mode=off
1+
common --lockfile_mode=update
22
common --enable_platform_specific_config
33

44
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/

.github/workflows/copyright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
copyright-check:
2222
uses: eclipse-score/cicd-workflows/.github/workflows/copyright.yml@main
2323
with:
24-
bazel-target: "run //:copyright.check"
24+
bazel-target: "run --lockfile_mode=error //:copyright.check"

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
formatting-check:
2424
uses: eclipse-score/cicd-workflows/.github/workflows/format.yml@main
2525
with:
26-
bazel-target: "test //:format.check" # optional, this is the default
26+
bazel-target: "test --lockfile_mode=error //:format.check" # optional, this is the default

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
77
steps:
88
- uses: actions/checkout@v4
99
- uses: bazelbuild/setup-bazelisk@v3
10-
- run: scripts/run_all_tests.sh
10+
- run: ./scripts/run_all_tests.sh

scripts/run_all_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ if [ "${workspace}" == "all" -o "${workspace}" == "main" ];then
5656
# run_command "bazel --output_base=$HOME/.cache/bazel_tools_python/workspace_output_base test --config=use_workspace_mode --config=python_3_9 //..." "tests (workspace mode and python 3.9)"
5757

5858
# Run bazel test with bzlmod mode and python 3.12.
59-
run_command "bazel --output_base=$HOME/.cache/bazel_tools_python/python_3_12_output_base test --config=python_3_12 //..." "tests (bzlmod mode and python 3.12)"
59+
run_command "bazel --lockfile_mode=error --output_base=$HOME/.cache/bazel_tools_python/python_3_12_output_base test --config=python_3_12 //..." "tests (bzlmod mode and python 3.12)"
6060

6161
# Run bazel test with bzlmod mode.
62-
run_command "bazel test //..." "tests (bzlmod mode)"
62+
run_command "bazel --lockfile_mode=error test //..." "tests (bzlmod mode)"
6363

6464
# Run python quality tools.
6565
run_command "bazel build --config=ruff_check --keep_going //..." "ruff_check"

0 commit comments

Comments
 (0)