Skip to content

Commit

Permalink
Use codecov.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pvk-developer committed Nov 26, 2024
1 parent e25c1bb commit bcc421c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
name: Upload integration codecov report
uses: codecov/codecov-action@v4
env:
CODECOV_THRESHOLD: "0.5"
with:
flags: integration
file: ${{ github.workspace }}/integration_cov.xml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ jobs:
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
name: Upload unit codecov report
uses: codecov/codecov-action@v4
env:
CODECOV_THRESHOLD: "0.5"
with:
flags: unit
file: ${{ github.workspace }}/unit_cov.xml
Expand Down
12 changes: 12 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage:
precision: 2
range: "90...100"
status:
project:
default:
target: auto
threshold: 1.0
patch:
default:
target: auto
threshold: 1.0

0 comments on commit bcc421c

Please sign in to comment.