Basic GH CI build/test with full range of gcc/clang (#1546) #1387
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Coverage | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
codecov-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install lcov | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install lcov | |
- uses: actions/checkout@v4 | |
- name: Run Code Coverage Build | |
run: ./util/codecov-ci.sh ${{ runner.temp }}/build | |
- name: Upload code coverage report to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: "${{ runner.temp }}/build/coverage-default.info,${{ runner.temp }}/build/coverage-no-asm.info" |