Skip to content

Commit

Permalink
ci: Import from actions-sync, check carefully (#387)
Browse files Browse the repository at this point in the history
* ci: Import from actions-sync, check carefully

* chore: Auto-update from GitHub Actions

Run: https://github.com/r-dbi/DBItest/actions/runs/12195209458
  • Loading branch information
krlmlr authored Dec 6, 2024
1 parent 8c1cf3a commit 419f7ed
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lock:
runs-on: ubuntu-24.04
steps:
- uses: dessant/lock-threads@v5
- uses: krlmlr/lock-threads@patch-1
with:
github-token: ${{ github.token }}
issue-inactive-days: "365"
Expand Down
20 changes: 10 additions & 10 deletions R/spec-meta-bind-.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Helpers -----------------------------------------------------------------

test_select_bind_expr <- function(
bind_values,
ctx = stop("ctx is available during run time only"),
...,
arrow,
bind,
query = TRUE,
skip_fun = NULL,
dbitest_version = NULL,
cast_fun = NULL,
requires_names = NULL) {
bind_values,
ctx = stop("ctx is available during run time only"),
...,
arrow,
bind,
query = TRUE,
skip_fun = NULL,
dbitest_version = NULL,
cast_fun = NULL,
requires_names = NULL) {
force(bind_values)
force(arrow)
force(bind)
Expand Down
8 changes: 4 additions & 4 deletions R/spec-meta-bind-expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#' @format NULL
#' @keywords NULL
spec_meta_bind_expr <- function(
arrow = c("none", "query"),
bind = c("df", "stream"),
...,
ctx = stop("ctx is available during run time only")) {
arrow = c("none", "query"),
bind = c("df", "stream"),
...,
ctx = stop("ctx is available during run time only")) {
check_dots_empty()
arrow <- arg_match(arrow)
bind <- arg_match(bind)
Expand Down
26 changes: 13 additions & 13 deletions R/spec-meta-bind-runner.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ test_select_bind_expr_one <- list()
#' \pkg{DBI} clients execute parametrized statements as follows:
#'
test_select_bind_expr_one$fun <- function(
bind_values,
...,
arrow,
bind,
query = TRUE,
has_cast_fun = FALSE,
check_return_value = NULL,
patch_bind_values = NULL,
bind_error = NA,
warn = FALSE,
is_repeated = FALSE,
is_premature_clear = FALSE,
is_untouched = FALSE) {
bind_values,
...,
arrow,
bind,
query = TRUE,
has_cast_fun = FALSE,
check_return_value = NULL,
patch_bind_values = NULL,
bind_error = NA,
warn = FALSE,
is_repeated = FALSE,
is_premature_clear = FALSE,
is_untouched = FALSE) {
check_dots_empty()
force(bind_values)
force(arrow)
Expand Down
10 changes: 5 additions & 5 deletions R/spec-result-roundtrip.R
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ test_select_with_null <- function(...) {
}

test_select <- function(
con,
...,
.add_null = "none",
.ctx,
.envir = parent.frame()) {
con,
...,
.add_null = "none",
.ctx,
.envir = parent.frame()) {

values <- list2(...)

Expand Down
16 changes: 8 additions & 8 deletions R/spec-sql-write-table.R
Original file line number Diff line number Diff line change
Expand Up @@ -831,14 +831,14 @@ test_table_roundtrip <- function(...) {
}

test_table_roundtrip_one <- function(
con,
tbl_in,
tbl_expected = tbl_in,
transform = identity,
name = NULL,
field.types = NULL,
use_append = FALSE,
.add_na = "none") {
con,
tbl_in,
tbl_expected = tbl_in,
transform = identity,
name = NULL,
field.types = NULL,
use_append = FALSE,
.add_na = "none") {
force(tbl_expected)
if (.add_na == "above") {
tbl_in <- add_na_above(tbl_in)
Expand Down

0 comments on commit 419f7ed

Please sign in to comment.