diff --git a/.github/bazel_version.json b/.github/bazel_version.json index 98faab3e..1f08d08f 100644 --- a/.github/bazel_version.json +++ b/.github/bazel_version.json @@ -1,5 +1,4 @@ [ - "6.5.0", "7.7.1", "8.5.1" ] diff --git a/MODULE.bazel b/MODULE.bazel index fde5f260..a6bb3ec9 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -14,7 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. """ -module(name = "rules_codechecker") +module( + name = "rules_codechecker", +) bazel_dep(name = "rules_python", version = "0.32.0") bazel_dep(name = "rules_cc", version = "0.2.3") diff --git a/test/unit/external_repository/test_external_repo.py b/test/unit/external_repository/test_external_repo.py index 12c6d764..22dbdaf1 100644 --- a/test/unit/external_repository/test_external_repo.py +++ b/test/unit/external_repository/test_external_repo.py @@ -103,14 +103,7 @@ def test_compile_commands_external_lib(self): "compile_commands.json", ) - # The ~override part is a consquence of using Bzlmod. - if self.BAZEL_VERSION.startswith("6"): # type: ignore - pattern1 = "-isystem external/external_lib~override/include" - pattern2 = ( - "-isystem bazel-out/k8-fastbuild/bin/external/" - "external_lib~override/include" - ) - elif self.BAZEL_VERSION.startswith("7"): # type: ignore + if self.BAZEL_VERSION.startswith("7"): # type: ignore pattern1 = "-isystem external/external_lib~/include" pattern2 = ( "-isystem bazel-out/k8-fastbuild/bin/external/"