2022-03-14 08:21:27 +00:00
|
|
|
name: Codecov
|
|
|
|
|
2023-06-30 11:44:57 +00:00
|
|
|
permissions: {}
|
|
|
|
|
2022-03-14 08:21:27 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-02-09 14:17:23 +00:00
|
|
|
- '*'
|
2022-03-14 08:21:27 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'release*'
|
|
|
|
|
2023-01-06 15:24:55 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-03-14 08:21:27 +00:00
|
|
|
jobs:
|
|
|
|
codecov:
|
2023-01-02 20:51:18 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-03-14 08:21:27 +00:00
|
|
|
steps:
|
2022-09-02 08:55:41 +00:00
|
|
|
- name: Checkout
|
2023-10-25 04:29:31 +00:00
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
2023-09-27 08:24:27 +00:00
|
|
|
- name: Setup caches
|
|
|
|
uses: ./.github/actions/setup-caches
|
|
|
|
timeout-minutes: 5
|
|
|
|
continue-on-error: true
|
|
|
|
with:
|
|
|
|
build-cache-key: codecov
|
2023-01-05 15:52:52 +00:00
|
|
|
- name: Setup build env
|
|
|
|
uses: ./.github/actions/setup-build-env
|
2023-08-30 20:44:51 +00:00
|
|
|
timeout-minutes: 10
|
2023-12-07 07:42:56 +00:00
|
|
|
with:
|
|
|
|
free-disk-space: false
|
2022-09-02 08:55:41 +00:00
|
|
|
- name: Generate Code Coverage Report
|
2022-03-14 08:21:27 +00:00
|
|
|
run: make code-cov-report
|
2022-09-02 08:55:41 +00:00
|
|
|
- name: Upload Report to Codecov
|
2024-01-26 12:07:19 +00:00
|
|
|
uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
|
2022-03-14 08:21:27 +00:00
|
|
|
with:
|
|
|
|
file: ./coverage.out
|
|
|
|
fail_ci_if_error: true
|
2022-08-25 08:24:49 +00:00
|
|
|
verbose: true
|