diff --git a/.github/grcov.yml b/.github/grcov.yml new file mode 100644 index 00000000..018c79ca --- /dev/null +++ b/.github/grcov.yml @@ -0,0 +1,7 @@ +branch: true +ignore-not-existing: true +llvm: true +filter: covered +output-type: lcov +output-path: ./lcov.info +prefix-dir: /home/user/build/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 802ec6a7..2fb3b981 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,8 +156,10 @@ jobs: RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests' - name: Coverage uses: actions-rs/grcov@v0.1 + with: + config: .github/grcov.yml - name: Upload Results - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 test-unit: runs-on: ubuntu-latest