Skip to content

Commit

Permalink
Attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy committed Nov 23, 2023
1 parent 7769ab6 commit 160ecd8
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,12 @@ jobs:
with:
prefix-key: 'v2-rust'
shared-key: 'e2e'
workspaces: |
./rust
workspaces: ./rust

- name: agent-build
run: cargo build --release --bin run-locally
working-directory: ./rust

- name: agent-build-cache
uses: actions/cache@v3
with:
path: ./rust/*
key: ${{ github.sha }}

agent-e2e:
runs-on: larger-runner
Expand All @@ -179,12 +173,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: agent-build-cache
uses: actions/cache@v3
with:
path: ./rust/*
key: ${{ github.sha }}

- name: foundry-install
uses: onbjerg/foundry-toolchain@v1
Expand All @@ -194,8 +182,7 @@ jobs:
with:
prefix-key: 'v2-rust'
shared-key: 'e2e'
workspaces: |
./rust
workspaces: ./rust

- name: run CosmWasm test
run: RUST_BACKTRACE=1 cargo test --package run-locally --bin run-locally -- cosmos::test --nocapture
Expand Down Expand Up @@ -232,11 +219,12 @@ jobs:
path: ./*
key: ${{ github.sha }}

- name: agent-build-cache
uses: actions/cache@v3
- name: rust-cache
uses: Swatinem/rust-cache@v2
with:
path: ./rust/*
key: ${{ github.sha }}
prefix-key: 'v2-rust'
shared-key: 'e2e'
workspaces: ./rust

- name: test
run: ./ci-test.sh
Expand Down

0 comments on commit 160ecd8

Please sign in to comment.