You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coverage status badge always reports code coverage for the master branch (as the links are hard-coded) even when switching to a different branch such as dev.
This may be misleading and makes it difficult to (quickly) see the testing coverage when implementing new features to e.g. dev-branch.
Describe the solution you'd like
Change the badge links (webpage-link + svg-image-link) inside README.Rmd to the currently used branch (for all branches of {golem}).
Describe alternatives you've considered
one could scroll down to the "About" section on the README page and see the output of covr::package_coverage() but it takes more time; a badge at the top would make this quicker
- to clearly show what the testing coverage is on each branch via the
badge
- `README.Rmd` is altered to programatically retrieve the current git
branch which automatically uses the correct coverage results from https://about.codecov.io/
Refs: ThinkR-open#1086
- to clearly show what the testing coverage is on each branch via the
badge
- `README.Rmd` is altered to programatically retrieve the current git
branch which automatically uses the correct coverage results from https://about.codecov.io/
Refs: #1086
- to clearly show what the testing coverage is on each branch via the
badge
- `README.Rmd` is altered to programatically retrieve the current git
branch which automatically uses the correct coverage results from https://about.codecov.io/
Refs: #1086
Is your feature request related to a problem?
The coverage status badge always reports code coverage for the
master
branch (as the links are hard-coded) even when switching to a different branch such asdev
.This may be misleading and makes it difficult to (quickly) see the testing coverage when implementing new features to e.g.
dev
-branch.Describe the solution you'd like
Change the badge links (webpage-link + svg-image-link) inside
README.Rmd
to the currently used branch (for all branches of{golem}
).Describe alternatives you've considered
README
page and see the output ofcovr::package_coverage()
but it takes more time; a badge at the top would make this quickerAdditional context
Can be fixed via #1087
The text was updated successfully, but these errors were encountered: