mirror of
https://github.com/msberends/AMR.git
synced 2025-09-03 08:24:11 +02:00
(v1.6.0.9061) age() update
This commit is contained in:
8
.github/workflows/codecovr.yaml
vendored
8
.github/workflows/codecovr.yaml
vendored
@@ -30,7 +30,6 @@ on:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- premaster
|
||||
- master
|
||||
|
||||
name: code-coverage
|
||||
@@ -76,10 +75,9 @@ jobs:
|
||||
library(AMR)
|
||||
library(tinytest)
|
||||
library(covr)
|
||||
source_files <- list.files("AMR/R", pattern = ".R$", full.names = TRUE)
|
||||
test_files <- list.files("AMR/inst/tinytest", full.names = TRUE)
|
||||
cov <- file_coverage(source_files = source_files, test_files = test_files, parent_env = asNamespace("AMR"), line_exclusions = list("AMR/R/atc_online.R", "AMR/R/mo_source.R", "AMR/R/translate.R", "AMR/R/resistance_predict.R", "AMR/R/aa_helper_functions.R", "AMR/R/aa_helper_pm_functions.R", "AMR/R/zzz.R"))
|
||||
print(cov)
|
||||
source_files <- list.files("R", pattern = ".R$", full.names = TRUE)
|
||||
test_files <- list.files("inst/tinytest", full.names = TRUE)
|
||||
cov <- file_coverage(source_files = source_files, test_files = test_files, parent_env = asNamespace("AMR"), line_exclusions = list("R/atc_online.R", "R/mo_source.R", "R/translate.R", "R/resistance_predict.R", "R/aa_helper_functions.R", "R/aa_helper_pm_functions.R", "R/zzz.R"))
|
||||
attr(cov, which = "package") <- list(path = ".") # until https://github.com/r-lib/covr/issues/478 is solved
|
||||
codecov(coverage = cov, quiet = FALSE)
|
||||
shell: Rscript {0}
|
||||
|
Reference in New Issue
Block a user