Skip to content

Commit

Permalink
iox-#5 squash me
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Jun 23, 2022
1 parent e94a6e2 commit 5454f17
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1


- uses: actions-rs/toolchain@v1
with:
rust-version: nightly
toolchain: nightly
components: llvm-tools-preview
- uses: actions-rs/[email protected]
- name: Setup cache
uses: actions/cache@v2
with:
Expand All @@ -64,7 +67,6 @@ jobs:
run: |
sudo apt update
sudo apt install -y libacl1-dev libncurses5-dev
cargo install grcov
- name: Build
env:
RUSTFLAGS: -Cinstrument-coverage
Expand All @@ -77,4 +79,8 @@ jobs:
- name: Generate coverage
run: |
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing -o ./lcov.info
bash <(curl -s https://codecov.io/bash) -f lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./lcov.info
fail_ci_if_error: true

0 comments on commit 5454f17

Please sign in to comment.