Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cargo test-all-features #742

Merged
merged 1 commit into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
build-all = "build --workspace --all-targets --"
build-wasm-tendermint = "build -p tendermint --manifest-path tendermint/Cargo.toml --target wasm32-unknown-unknown --release --no-default-features --"
build-wasm-light-client = "build -p tendermint-light-client --manifest-path light-client/Cargo.toml --target wasm32-unknown-unknown --release --no-default-features --"
test-all-features = "test --all-features --no-fail-fast"
31 changes: 15 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast -p tendermint
command: test-all-features
args: -p tendermint
tendermint-rpc:
runs-on: ubuntu-latest
steps:
Expand All @@ -43,8 +43,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast -p tendermint-rpc
command: test-all-features
args: -p tendermint-rpc
tendermint-proto:
runs-on: ubuntu-latest
steps:
Expand All @@ -55,8 +55,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast -p tendermint-proto
command: test-all-features
args: -p tendermint-proto
tendermint-light-client:
runs-on: ubuntu-latest
steps:
Expand All @@ -67,8 +67,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast -p tendermint-light-client
command: test-all-features
args: -p tendermint-light-client
tendermint-light-node:
runs-on: ubuntu-latest
steps:
Expand All @@ -79,8 +79,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast -p tendermint-light-node
command: test-all-features
args: -p tendermint-light-node
tendermint-testgen:
runs-on: ubuntu-latest
steps:
Expand All @@ -91,8 +91,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast -p tendermint-testgen
command: test-all-features
args: -p tendermint-testgen

tendermint-integration:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -151,8 +151,8 @@ jobs:
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: -p tendermint-rpc --no-fail-fast --all-features -- --ignored
command: test-all-features
args: -p tendermint-rpc -- --ignored

integration-latest:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -189,8 +189,7 @@ jobs:
command: clean
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
command: test-all-features
env:
CARGO_INCREMENTAL: "0"
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=unwind -Zpanic_abort_tests"
Expand Down