Skip to content

Commit

Permalink
Fix coverage (#2658)
Browse files Browse the repository at this point in the history
* run with test-threads 1

* generate xml report
  • Loading branch information
zjb0807 authored Dec 4, 2023
1 parent 1945ad8 commit 7e9acd5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
cancel-in-progress: true

env:
TARPAULIN_VERSION: 0.27.1
TARPAULIN_VERSION: 0.27.2
# LIBCLANG_PATH: "/usr/lib/llvm-11/lib" # default `llvm-config --prefix`
CARGO_INCREMENTAL: 0
jobs:
Expand Down Expand Up @@ -46,13 +46,14 @@ jobs:
run: |
wget https://github.com/xd009642/tarpaulin/releases/download/${{ env.TARPAULIN_VERSION }}/cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
cargo tarpaulin -v --no-fail-fast --implicit-test-threads --workspace \
cargo tarpaulin -v --workspace \
-e acala-inspect \
acala acala-cli acala-service \
acala-primitives \
acala-rpc \
acala-runtime runtime-common runtime-integration-tests karura-runtime mandala-runtime \
--exclude-files **/mock.rs **/weights.rs **/weights/*
ethjson evm-jsontests jsontests \
--exclude-files **/mock.rs **/weights.rs **/weights/* --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 7e9acd5

Please sign in to comment.