name: Codecov on: push: branches: - '*' pull_request: branches: - 'main' - 'release*' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: codecov: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup build env uses: ./.github/actions/setup-build-env with: build-cache-key: codecov - name: Generate Code Coverage Report run: make code-cov-report - name: Upload Report to Codecov uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3 with: file: ./coverage.out fail_ci_if_error: true verbose: true