Skip to content

Commit

Permalink
ci: load rust cache
Browse files Browse the repository at this point in the history
  • Loading branch information
conorsch committed Oct 9, 2024
1 parent e1b717f commit 5b2f086
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
restore-prefixes-first-match: nix-${{ runner.os }}-
backend: buildjet

- name: Load rust cache
uses: astriaorg/[email protected]

# Confirm that the nix devshell is buildable and runs at all.
- name: validate nix env
run: nix develop --command echo hello
Expand Down
2 changes: 1 addition & 1 deletion crates/bin/pmonitor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ colored = "2.1.0"
directories = {workspace = true}
futures = {workspace = true}
indicatif = {workspace = true}
pcli = { path = "../pcli" }
pcli = {path = "../pcli", default-features = true}
penumbra-app = {workspace = true}
penumbra-asset = {workspace = true, default-features = false}
penumbra-compact-block = {workspace = true, default-features = false}
Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ default:
# Run integration tests for pmonitor tool
test-pmonitor:
# warm cache
cargo build --release --bin pd
cargo run --release --bin pd -- network unsafe-reset-all || true
cargo -q run --release --bin pd -- network unsafe-reset-all || true
rm -rf /tmp/pmonitor-integration-test
cargo nextest run -p pmonitor --run-ignored=ignored-only --test-threads 1
# cargo nextest run -p pmonitor --run-ignored=ignored-only --test-threads 1
cargo test -p pmonitor -- --ignored --test-threads 1 --nocapture

# Creates and runs a local devnet with solo validator. Includes ancillary services
# like metrics, postgres for storing ABCI events, and pindexer for munging those events.
Expand Down

0 comments on commit 5b2f086

Please sign in to comment.