diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 726ff272..883439f5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -156,6 +156,23 @@ jobs: pkill --echo hc && pkill --echo holochain && pkill --echo lair-keystore + - name: Smoke test - trycp_write_validated + run: | + set -x + + # Start local network services + nix develop .#ci -c bash -c "hc-run-local-services --bootstrap-port 4422 --signal-port 4423 &" + # Start a TryCP instance + nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &" + + # Run the scenario for 10 seconds + RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#trycp_write_validated -- --targets targets-ci.yaml --instances-per-target 2 --duration 10 --no-progress + + # Stop the TryCP instance + nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp" + # Stop local network services + pkill --echo hc-run-local + - name: Smoke test - remote_call_rate run: | set -x