Skip to content

Commit

Permalink
Merge branch 'main' into mpolano-merged
Browse files Browse the repository at this point in the history
  • Loading branch information
statnmap authored May 14, 2024
2 parents 2f5a79b + bd31578 commit 6db6baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dev/create_testor_on_gitlab.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set_gitlab_connection(
projects_names <- c("testor.macos", "testor.windows", "testor.release",
"testor.devel", "testor.release.master", "testor.coverage")
# Local - Only the first one is mandatory
projects_names <- c("testor.main", "testor.master")
projects_names <- "testor.main"

# Store all outputs
all_outputs <- list()
Expand Down
8 changes: 1 addition & 7 deletions tests/testthat/test_projects_repos.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ test_that("gl_list_projects work", {
all_user_projects <- gl_list_user_projects(user_id = test_user_id, max_page = 2, order_by = "last_activity_at")

test_that("gl_list_user_projects work", {
some_projects <- paste0("testor.", c("macos", "windows", "release",
"devel", "coverage", "main", "release.master"))
expect_true(any(some_projects %in% all_user_projects[["name"]]))

if (test_login == "statnmap") {
expect_true(all(some_projects %in% all_user_projects[["name"]]))
}
expect_true(all(test_project_name %in% all_user_projects[["name"]]))
expect_true(all(c("id", "name", "path") %in% names(all_user_projects)))
})

Expand Down

0 comments on commit 6db6baf

Please sign in to comment.