Skip to content

Commit

Permalink
create code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Sep 15, 2023
1 parent 8d8893b commit dfa7836
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
command: check

test:
name: Test Suite
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -42,17 +42,25 @@ jobs:
command: test
args: --workspace --all-targets

- name: rust-grcov
# You may pin to the exact commit or the version.
# uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
uses: actions-rs/[email protected]

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
verbose: true
fail_ci_if_error: true

lints:
name: Lints
name: Lint checks
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit dfa7836

Please sign in to comment.