From 45ce7d653bb1f98a3b4edb341cd7ba6a8a4b5fd0 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 25 Apr 2024 07:26:09 -0700 Subject: [PATCH] fix: BCR presubmit should test the release path Because bzlmod users get a module that doesn't have a rules_rust dep --- .bcr/presubmit.yml | 2 +- e2e/use_release/minimal_download_test.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 16dd5a62..73e87fa4 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -1,5 +1,5 @@ bcr_test_module: - module_path: "e2e/smoke" + module_path: "e2e/use_release" matrix: bazel: ["7.x", "6.x"] platform: ["debian10", "macos", "ubuntu2004", "windows"] diff --git a/e2e/use_release/minimal_download_test.sh b/e2e/use_release/minimal_download_test.sh index b5bd398c..f431f615 100755 --- a/e2e/use_release/minimal_download_test.sh +++ b/e2e/use_release/minimal_download_test.sh @@ -11,7 +11,7 @@ fi # This test references pre-built artifacts from a prior release. # Will need to bump this version in the future when there are breaking changes. -export RULES_PY_RELEASE_VERSION=0.7.0 +export RULES_PY_RELEASE_VERSION=0.7.1 ############# # Test bzlmod @@ -38,6 +38,8 @@ then exit 1 fi +bazel "--output_base=$OUTPUT_BASE" test --enable_bzlmod //... + ############# # Test WORKSPACE OUTPUT_BASE=$(mktemp -d)