diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6517a2c0..2139ca6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,3 +42,14 @@ jobs: install: base-devel mingw-w64-${{matrix.env}}-toolchain - run: make - run: make test + code-coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup LCOV + uses: hrishikesh-kadam/setup-lcov@v1 + - name: Build and Run tests + run: make coverage -j + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + files: ./cov-html/libopenlibm.info