Skip to content

Commit

Permalink
Update test-coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Apr 25, 2024
1 parent 6ad1997 commit aaaed2b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
^CRAN-SUBMISSION$
^sandbox$
^sentinels$
^codecov\.yml$
3 changes: 2 additions & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
FINBIF_DEV_ACCESS_TOKEN: ${{ secrets.FINBIF_DEV_ACCESS_TOKEN }}
FINBIF_RESTRICTED_FILE_ACCESS_TOKEN: ${{ secrets.FINBIF_RESTRICTED_FILE_ACCESS_TOKEN }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
LANG: en_US.UTF-8

steps:
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
22 changes: 22 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
branch: main

comment: false

coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: true
branches:
- main
- dev
patch:
default:
target: auto
threshold: 1%
informational: true
branches:
- dev

0 comments on commit aaaed2b

Please sign in to comment.