From 5f040d5be72380e7ee7b4b71b0544c3e95e67a9b Mon Sep 17 00:00:00 2001 From: gusto Date: Tue, 19 Sep 2023 12:00:27 +0300 Subject: [PATCH] Run integration tests in all gh actions (#418) --- .github/workflows/codecov.yml | 7 +++++-- .github/workflows/master.yml | 2 +- .github/workflows/pr.yml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index f9ec6323..6754eaed 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index b2ff0d9d..41e23487 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 06fc51e7..bb371d05 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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