From 74928b2076e90337824ae8dd6d0a1f329526b16a Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Wed, 31 May 2023 17:05:05 +0200 Subject: [PATCH] Add coverage analysis and Codecov upload --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ed65c4..2047643 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,12 @@ jobs: command: test args: --all-targets + - name: Generate code coverage + uses: actions-rs/grcov@v0.1 + + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v3 + rustfmt: name: rustfmt runs-on: ubuntu-latest