Run integration tests in all gh actions (#418)

This commit is contained in:
gusto 2023-09-19 12:00:27 +03:00 committed by GitHub
parent c860b632dd
commit 5f040d5be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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