Skip to content

Commit

Permalink
Remove condition that no testthat tests must be skipped.
Browse files Browse the repository at this point in the history
  • Loading branch information
dklein-pik committed Mar 5, 2024
1 parent 5156cc6 commit 9b4612d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/modeltests.R
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ evaluateRuns <- function(model, mydir, gitPath, compScen, email, mattermostToken
file.rename(from = currentName, to = paste0("../", newName))
if (!isTRUE(grepl("FAIL", logStatus))) {
testthatResult <- paste("`make test-full` did not run properly. Check", newName)
} else if (!isTRUE(grepl("FAIL 0", logStatus) & grepl("WARN 0", logStatus) & grepl("SKIP 0", logStatus))) {
} else if (!isTRUE(grepl("FAIL 0", logStatus) & grepl("WARN 0", logStatus))) {
testthatResult <- paste0("Not all tests pass in `make test-full`: ", logStatus ,". Check ", newName)
} else {
testthatResult <- paste("All tests pass in `make test-full`:", logStatus)
Expand Down

0 comments on commit 9b4612d

Please sign in to comment.