-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (34 loc) · 999 Bytes
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: E2E Integration Tests
on:
pull_request:
jobs:
test:
name: E2E tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install latest nightly toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
targets: wasm32-unknown-unknown
- name: Rust Dependencies Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
artifacts/
key: ${{ runner.os }}-cargo-with-artifacts-${{ hashFiles('**/Cargo.lock') }}
- uses: extractions/setup-just@v1
- name: Download artifacts
run: just download-artifacts
- name: Optimize contracts
run: just optimize
- name: Run local stargaze chain
run: just deploy-local
- name: Run e2e tests
run: just e2e-test