diff --git a/.buildkite/identity_tests.yml b/.buildkite/identity_tests.yml index 1ae379a77..ccb39e273 100644 --- a/.buildkite/identity_tests.yml +++ b/.buildkite/identity_tests.yml @@ -1,7 +1,9 @@ +env: + PATH: "$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH" steps: - label: ":nix: Identity Tests (Nix)" command: - 'cd services/identity' - 'nix develop --accept-flake-config --command cargo test' agents: - 'mac=true' diff --git a/.buildkite/tunnelbroker_unittests.yml b/.buildkite/tunnelbroker_unittests.yml index 614fa303b..04698cb09 100644 --- a/.buildkite/tunnelbroker_unittests.yml +++ b/.buildkite/tunnelbroker_unittests.yml @@ -1,12 +1,14 @@ +env: + PATH: "$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH" steps: - label: ':nix: Tunnelbroker Unittests' command: - 'cd services/tunnelbroker' - 'rm -rf target' - 'nix develop --accept-flake-config -c bash -c "cargo build && cargo test"' - 'cd src/libcpp/test' - 'rm -rf build' - 'nix develop --accept-flake-config -c bash -c "cmake -B build . && make -C build -j"' - 'build/runTests --gtest_filter="-AmqpManager*:DatabaseManager*"' agents: - 'mac=true'