Skip to content

Commit

Permalink
chore(ci): use github matrix to call test scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunster committed Sep 10, 2024
1 parent a409c70 commit 0de88d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ on:
jobs:
test:
runs-on: [self-hosted, wind-tunnel]
strategy:
fail-fast: false
matrix:
scenario: [ zome_call_single_value ]
steps:
- uses: actions/checkout@v4

- name: Smoke test - zome_call_single_value
- name: Smoke test - ${{ matrix.scenario }}
run: |
# Start a sandbox conductor and run it in the background
nix develop .#ci -c bash -c "hc s clean && echo "1234" | hc s --piped create && echo "1234" | hc s --piped -f 8888 run &"
# Run the scenario for 5 seconds
RUST_LOG=info nix run .#zome_call_single_value -- --connection-string ws://localhost:8888 --duration 5 --no-progress --reporter influx-file
RUST_LOG=info nix run .#${{ matrix.scenario }} -- --connection-string ws://localhost:8888 --duration 5 --no-progress --reporter influx-file
pkill hc && pkill holochain && pkill lair-keystore

0 comments on commit 0de88d0

Please sign in to comment.