| # We recommend included a bcr test workspace that exercises your ruleset with bzlmod. |
| # For an example, see https://github.com/aspect-build/bazel-lib/tree/main/e2e/bzlmod. |
| bcr_test_module: |
| module_path: "examples/elm-test" |
| matrix: |
| platform: ["ubuntu2004"] |
| bazel: [7.x] |
| tasks: |
| run_tests: |
| name: "Run test module" |
| platform: ${{ platform }} |
| bazel: ${{ bazel }} |
| environment: |
| # The Nix installer updates ~/.profile to set PATH. However, the Bazel |
| # CI setup seems to disregard ~/.profile. So we set PATH manually here. |
| PATH: /var/lib/buildkite-agent/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| shell_commands: |
| - curl -L https://nixos.org/nix/install | sh -s -- --no-daemon |
| test_targets: |
| - "//..." |