fix: test command
This commit is contained in:
parent
f8696c2b7a
commit
dcd1ef2eda
|
@ -33,6 +33,11 @@ jobs:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
toolchain: ["stable", "nightly"]
|
toolchain: ["stable", "nightly"]
|
||||||
|
exclude:
|
||||||
|
# ntapi crate does not compile on nightly due to E0793:
|
||||||
|
# https://github.com/gakonst/ethers-rs/actions/runs/4266119447/jobs/7426254381
|
||||||
|
- os: windows-latest
|
||||||
|
toolchain: nightly
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
|
@ -53,7 +58,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export ETHERSCAN_API_KEY="$ETHERSCAN_API_KEY_ETHEREUM"
|
export ETHERSCAN_API_KEY="$ETHERSCAN_API_KEY_ETHEREUM"
|
||||||
rustup run ${{ matrix.toolchain }}-${{ matrix.job.target }} cargo test --workspace
|
cargo +${{ matrix.toolchain }} test --workspace --target ${{ matrix.job.target }}
|
||||||
|
|
||||||
feature-tests:
|
feature-tests:
|
||||||
name: feature tests ${{ matrix.toolchain }}-${{ matrix.job.target }}
|
name: feature tests ${{ matrix.toolchain }}-${{ matrix.job.target }}
|
||||||
|
@ -68,7 +73,14 @@ jobs:
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
|
- os: ubuntu-latest
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
toolchain: ["stable", "nightly"]
|
toolchain: ["stable", "nightly"]
|
||||||
|
exclude:
|
||||||
|
# ntapi crate does not compile on nightly due to E0793:
|
||||||
|
# https://github.com/gakonst/ethers-rs/actions/runs/4266119447/jobs/7426254381
|
||||||
|
- os: windows-latest
|
||||||
|
toolchain: nightly
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
|
@ -89,10 +101,10 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export ETHERSCAN_API_KEY="$ETHERSCAN_API_KEY_CELO"
|
export ETHERSCAN_API_KEY="$ETHERSCAN_API_KEY_CELO"
|
||||||
rustup run ${{ matrix.toolchain }}-${{ matrix.job.target }} cargo test --workspace
|
cargo +${{ matrix.toolchain }} test --workspace --target ${{ matrix.job.target }} --all-features
|
||||||
|
|
||||||
features:
|
feature-checks:
|
||||||
name: features
|
name: feature checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
Loading…
Reference in New Issue