Skip to content

Commit f480128

Browse files
committed
Add nudge to use test-coverage Gitub Action
Relates to #1521
1 parent aadd06c commit f480128

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

R/coverage.R

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,9 @@ use_coverage <- function(type = c("codecov", "coveralls"), repo_spec = NULL) {
2626
coveralls = use_coveralls_badge(repo_spec)
2727
)
2828

29-
if (uses_travis()) {
30-
ui_todo("Add to {ui_path('.travis.yml')}:")
31-
ui_code_block("
32-
after_success:
33-
- Rscript -e 'covr::{type}()'
34-
")
35-
}
29+
ui_todo("
30+
Call {ui_code('use_github_action(\"test-coverage\")')} to continuously \\
31+
monitor test coverage.")
3632

3733
invisible(TRUE)
3834
}

0 commit comments

Comments
 (0)