Run integration tests in all gh actions (#418)
This commit is contained in:
parent
c860b632dd
commit
5f040d5be7
|
@ -27,12 +27,15 @@ jobs:
|
|||
toolchain: stable
|
||||
override: true
|
||||
components: llvm-tools-preview
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --all --no-default-features --features libp2p
|
||||
- uses: actions-rs/cargo@v1
|
||||
continue-on-error: true
|
||||
- run: |
|
||||
cargo install grcov;
|
||||
cargo test --no-default-features --features waku -- --skip ten_nodes_happy --skip two_nodes_happy --skip ten_nodes_one_down
|
||||
cargo test --no-default-features --features libp2p -- --skip ten_nodes_happy --skip two_nodes_happy --skip ten_nodes_one_down
|
||||
cargo test --no-default-features --features libp2p
|
||||
mkdir /tmp/cov;
|
||||
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
|
||||
- uses: codecov/codecov-action@v3
|
||||
|
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --all --no-default-features --features ${{ matrix.feature }} -- --skip ten_nodes_happy --skip two_nodes_happy --skip ten_nodes_one_down
|
||||
args: --all --no-default-features --features ${{ matrix.feature }}
|
||||
|
||||
lints:
|
||||
name: Rust lints
|
||||
|
|
|
@ -68,7 +68,7 @@ jobs:
|
|||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --all --no-default-features --features ${{ matrix.feature }} -- --skip ten_nodes_happy --skip two_nodes_happy --skip ten_nodes_one_down
|
||||
args: --all --no-default-features --features ${{ matrix.feature }}
|
||||
|
||||
lints:
|
||||
name: Rust lints
|
||||
|
|
Loading…
Reference in New Issue