Skip to content
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
13 changes: 3 additions & 10 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default stable
rustup update nightly
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly

- name: Check Build
run: |
Expand All @@ -51,10 +47,7 @@ jobs:
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default stable
rustup update nightly
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup component add llvm-tools-preview
cargo install grcov

Expand All @@ -65,9 +58,9 @@ jobs:
export BUILD_DUMMY_WASM_BINARY=true
export LLVM_PROFILE_FILE="llvmcoveragedata-%p-%m.profraw"
export WASM_TARGET_DIRECTORY=/tmp/wasm
cargo +nightly build
cargo build
export RUSTFLAGS="-Zinstrument-coverage"
rm -r target/debug
cargo +nightly test --all
rm -rf target/debug
cargo test --all
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info
bash <(curl -s https://codecov.io/bash) -f lcov.info
Loading