From 80749b76df8acae785597eace8c55c278ec45bcf Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Tue, 4 Jun 2024 15:32:48 +0100 Subject: [PATCH] Source script before running command --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5720b5c4..5d5308f7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -161,13 +161,13 @@ jobs: nix develop --command bash -c "hc s clean && echo "1234" | hc s --piped create && echo "1234" | hc s --piped -f 8888 run &" # Start a TryCP instance - nix develop --command bash -c "start_trycp" + nix develop --command bash -c "source ./scripts/trycp.sh && start_trycp" # Run the scenario for 5 seconds RUST_LOG=info nix run .#remote_call -- --targets targets-ci.yaml --duration 5 --no-progress # Stop the TryCP instance - nix develop --command bash -c "stop_trycp" + nix develop --command bash -c "source ./scripts/trycp.sh && stop_trycp" pkill --echo hc && pkill --echo holochain && pkill --echo lair-keystore