Skip to content

Commit

Permalink
Update BCR presubmit.yml script
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Nov 8, 2023
1 parent 8ee14fd commit 63e61e1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .bcr/core/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ bcr_test_module:
run_tests:
name: "Run test module"
platform: ${{ platform }}
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:
- apt update
- apt install --yes nix-setup-systemd
- nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
- nix-channel --update
- curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
test_targets:
- "//..."

0 comments on commit 63e61e1

Please sign in to comment.