-
Notifications
You must be signed in to change notification settings - Fork 0
72 lines (70 loc) · 1.79 KB
/
integration.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Rust
on:
pull_request:
paths:
- .github/workflows/rust.yml
- Cargo.toml
- Cargo.lock
- ci/**
- e2e/**
- proto/**
- modules/**
- relayer/**
- relayer-cli/**
- relayer-rest/**
- telemetry/**
push:
branches: master
paths:
- .github/workflows/rust.yml
- Cargo.toml
- Cargo.lock
- ci/**
- e2e/**
- proto/**
- modules/**
- relayer/**
- relayer-cli/**
- relayer-rest/**
- telemetry/**
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 1
CARGO_PROFILE_RELEASE_DEBUG: 1
RUST_BACKTRACE: short
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
jobs:
integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
gaiad:
- gaia4
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
with:
install_url: https://nixos-nix-install-tests.cachix.org/serve/vij683ly7sl95nnhb67bdjjfabclr85m/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
with:
name: cosmos
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: test
args: -p ibc-integration-test --no-fail-fast --no-run
- env:
RUST_LOG: info
RUST_BACKTRACE: 1
run: |
nix shell github:informalsystems/cosmos.nix#${{ matrix.gaiad }} -c cargo \
test -p ibc-integration-test --no-fail-fast -- \
--nocapture --test-threads=1