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