Skip to content

Commit

Permalink
llvm-cov in paritytech/ci-linux:production
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Jan 21, 2022
1 parent e6ddb95 commit df7a9a6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
- linux
- x64
- sre
container:
image: paritytech/ci-linux:production
steps:
- name: Clean up
continue-on-error: true
Expand All @@ -58,13 +60,12 @@ jobs:
/home/runner/.cargo/bin/rustup show
- uses: actions/checkout@v2
- name: Run Test (with coverage)
continue-on-error: true
run: |
# integration tests can't be compiled with --feature=runtime-benchmarks
# TODO: https://github.com/ComposableFi/composable/issues/535
/home/runner/.cargo/bin/cargo install -f cargo-llvm-cov
/home/runner/.cargo/bin/rustup component add llvm-tools-preview --toolchain nightly
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo llvm-cov --workspace --locked --release --verbose --features=runtime-benchmarks --exclude=integration-tests --lcov --output-path lcov.info
cargo install -f cargo-llvm-cov
rustup component add llvm-tools-preview --toolchain nightly
SKIP_WASM_BUILD=1 cargo llvm-cov --workspace --locked --release --verbose --features=runtime-benchmarks --exclude=integration-tests --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit df7a9a6

Please sign in to comment.