Skip to content

Commit

Permalink
update workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Apr 12, 2024
1 parent 20e32de commit 0851e8b
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ jobs:
path: install

# Smoke tests are even more expensive, so they run last.
smoketest:
name: smoketest
smoketest-cache:
name: smoketest-cache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -175,7 +175,25 @@ jobs:
shell: bash
run: |
memcached -t 1 -p 11211 -m 256 &
target/release/rpc-perf configs/smoketest.toml
target/release/rpc-perf configs/smoketest-cache.toml
smoketest-pubsub:
name: smoketest-pubsub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@v2
with:
shared-key: smoketest-ubuntu-latest
- name: build
shell: bash
run: |
cargo build --workspace --all-targets --locked --release
- name: test
shell: bash
run: |
target/release/rpc-perf configs/smoketest-pubsub.toml
check-success:
name: verify all tests pass
Expand All @@ -187,7 +205,8 @@ jobs:
- clippy
- clippy-upload
- audit
- smoketest
- smoketest-cache
- smoketest-pubsub

steps:
- name: no-op
Expand Down

0 comments on commit 0851e8b

Please sign in to comment.