Skip to content

Commit

Permalink
also run tests on pkgcheck workflow for #180
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jun 30, 2023
1 parent c0ad7ec commit cfb48d4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pkgcheck
Title: rOpenSci Package Checks
Version: 0.1.2
Version: 0.1.2.001
Authors@R: c(
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265")),
Expand Down
10 changes: 7 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/pkgcheck",
"issueTracker": "https://github.com/ropensci-review-tools/pkgcheck/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.2",
"version": "0.1.2.001",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -342,10 +342,14 @@
"name": "srr",
"sameAs": "https://github.com/ropensci-review-tools/srr"
},
"SystemRequirements": null
"SystemRequirements": {}
},
"fileSize": "3763.696KB",
"readme": "https://github.com/ropensci-review-tools/pkgcheck/blob/main/README.md",
"contIntegration": ["https://github.com/ropensci-review-tools/pkgcheck/actions?query=workflow%3AR-CMD-check", "https://github.com/ropensci-review-tools/pkgcheck/actions?query=workflow%3Apush-to-gitlab", "https://codecov.io/gh/ropensci-review-tools/pkgcheck"],
"contIntegration": [
"https://github.com/ropensci-review-tools/pkgcheck/actions?query=workflow%3AR-CMD-check",
"https://github.com/ropensci-review-tools/pkgcheck/actions?query=workflow%3Apush-to-gitlab",
"https://codecov.io/gh/ropensci-review-tools/pkgcheck"
],
"developmentStatus": "https://www.repostatus.org/#concept"
}
6 changes: 3 additions & 3 deletions tests/testthat/test-goodpractice.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") ||
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage") ||
identical (Sys.getenv ("GITHUB_WORKFLOW"), "pkgcheck"))

skip_if (!test_all)

Expand Down
5 changes: 3 additions & 2 deletions tests/testthat/test-pkgcheck.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") |
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage"))
test_all <- (identical (Sys.getenv ("MPADGE_LOCAL"), "true") ||
identical (Sys.getenv ("GITHUB_WORKFLOW"), "test-coverage") ||
identical (Sys.getenv ("GITHUB_WORKFLOW"), "pkgcheck"))

skip_if (!test_all)

Expand Down

0 comments on commit cfb48d4

Please sign in to comment.