Skip to content

Commit

Permalink
ci: add codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Dec 31, 2023
1 parent 2ffde72 commit c523036
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
- name: Test
run: cargo xtask test --build-type ${{env.BUILD_TYPE}}

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

build_with_hash:
runs-on: ubuntu-latest
Expand All @@ -56,3 +60,8 @@ jobs:

- name: Test
run: cargo xtask test --build-type ${{env.BUILD_TYPE}} --with-rust false

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

0 comments on commit c523036

Please sign in to comment.