Skip to content

Commit

Permalink
split tests to avoid travis-ci timeout errors
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Nov 17, 2017
1 parent 4071d25 commit cd3bdaf
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 3 deletions.
4 changes: 4 additions & 0 deletions tests/test-1-pkgAvail.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (require(testthat)) {
source(file.path("testthat", "helpers.R"))
test_check("miniCRAN", filter = "pkgAvail")
}
4 changes: 4 additions & 0 deletions tests/test-2-pkgDep.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (require(testthat)) {
source(file.path("testthat", "helpers.R"))
test_check("miniCRAN", filter = "pkgDep")
}
4 changes: 4 additions & 0 deletions tests/test-3&4-makeRepo.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (require(testthat)) {
source(file.path("testthat", "helpers.R"))
test_check("miniCRAN", filter = "makeRepo")
}
4 changes: 4 additions & 0 deletions tests/test-5-updateRepo.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (require(testthat)) {
source(file.path("testthat", "helpers.R"))
test_check("miniCRAN", filter = "updateRepo")
}
4 changes: 4 additions & 0 deletions tests/test-6-getCranDescription.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (require(testthat)) {
source(file.path("testthat", "helpers.R"))
test_check("miniCRAN", filter = "getCranDescription")
}
4 changes: 4 additions & 0 deletions tests/test-7-add-GithubPackage.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (require(testthat)) {
source(file.path("testthat", "helpers.R"))
test_check("miniCRAN", filter = "addGithubPackage")
}
3 changes: 0 additions & 3 deletions tests/test-all.R

This file was deleted.

0 comments on commit cd3bdaf

Please sign in to comment.