mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
7de8503e87
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
36 lines
846 B
YAML
36 lines
846 B
YAML
name: Codecov
|
|
|
|
permissions: {}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
- 'release*'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
codecov:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
|
- name: Setup build env
|
|
uses: ./.github/actions/setup-build-env
|
|
timeout-minutes: 10
|
|
with:
|
|
build-cache-key: codecov
|
|
- name: Generate Code Coverage Report
|
|
run: make code-cov-report
|
|
- name: Upload Report to Codecov
|
|
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
|
|
with:
|
|
file: ./coverage.out
|
|
fail_ci_if_error: true
|
|
verbose: true
|