update codecov job (#80)

* update codecov job

* add codecov condif
This commit is contained in:
l5y
2025-09-16 09:55:53 +02:00
committed by GitHub
parent 47e23ea14c
commit 1cd9058685
2 changed files with 8 additions and 1 deletions

6
.codecov.yml Normal file
View File

@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: 99%
threshold: 1%

View File

@@ -32,8 +32,9 @@ jobs:
- name: Run tests
run: bundle exec rspec
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
flags: ruby-${{ matrix.ruby-version }}
env: