Added codecov

This commit is contained in:
ElBe 2023-09-15 07:12:39 +02:00
parent 195b9edc34
commit 25ecd37d7d
2 changed files with 22 additions and 0 deletions

12
.github/workflows/codecov_workflow.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Codecov
permissions: read-all
on:
[push, pull_request]
jobs:
build:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

10
codecov.yml Normal file
View File

@ -0,0 +1,10 @@
coverage:
status:
project:
default:
target: 50%
threshold: 1%
comment:
require_changes: true
require_ci_to_pass: false