Skip to content

Commit 873d31e

Browse files
committed
update 'test_all' test conditions
1 parent c6aa24e commit 873d31e

File tree

8 files changed

+4
-22
lines changed

8 files changed

+4
-22
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: m4ra
22
Title: Many-to-Many Multi-Modal Routing Aggregator
3-
Version: 0.1.1.042
3+
Version: 0.1.1.043
44
Authors@R:
55
person(given = "Mark",
66
family = "Padgham",

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"codeRepository": "https://github.com/UrbanAnalyst/m4ra",
88
"issueTracker": "https://github.com/UrbanAnalyst/m4ra/issues",
99
"license": "https://spdx.org/licenses/GPL-3.0",
10-
"version": "0.1.1.042",
10+
"version": "0.1.1.043",
1111
"programmingLanguage": {
1212
"@type": "ComputerLanguage",
1313
"name": "R",

tests/testthat/test-gtfs.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
2-
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
3-
41
# fake network data from gtfs feed
52
fake_network_data <- function (gtfs, npts = 1e3) {
63

tests/testthat/test-m4ra.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
3-
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
4-
51
Sys.setenv ("M4RA_CACHE_DIR" = fs::path_temp ())
62

73
test_that ("m4ra errors", {

tests/testthat/test-prepare-data.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
2-
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
3-
41
test_that ("prepare data", {
52

63
Sys.setenv ("M4RA_CACHE_DIR" = fs::path_temp ())

tests/testthat/test-traveltimes.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
3-
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
4-
51
test_that ("time errors", {
62

73
expect_error (

tests/testthat/test-utils.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
2-
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
3-
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
1+
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") ||
2+
identical (Sys.getenv ("GITHUB_JOB"), "test-coverage"))
43

54
Sys.setenv ("M4RA_CACHE_DIR" = fs::path_temp ())
65

tests/testthat/test-weight-networks.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
2-
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
3-
41
Sys.setenv ("M4RA_CACHE_DIR" = fs::path_temp ())
52

63
test_that ("weight networks", {

0 commit comments

Comments
 (0)