Skip to content

ci: skip databricks tests on fork PRs, and update cross-compat tests for latest pins-R#355

Merged
isabelizimm merged 3 commits intorstudio:mainfrom
nealrichardson:fix-fork-ci
Mar 13, 2026
Merged

ci: skip databricks tests on fork PRs, and update cross-compat tests for latest pins-R#355
isabelizimm merged 3 commits intorstudio:mainfrom
nealrichardson:fix-fork-ci

Conversation

@nealrichardson
Copy link
Collaborator

I stumbled across #353 and saw that CI failed because it was a fork. This should fix it (and being from a fork, should confirm that). Then we can rebase that PR and it should be good.

run: |
# TODO: better way to disable all cloud backend tests?
pytest pins -m 'not fs_rsc and not fs_s3 and not fs_gcs and not fs_abfs and not skip_on_github'
# Skip all tests requiring credentials, which aren't available on fork PRs.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a little Claude-research on this and didn't see a better way obviously, not one that wouldn't just be moving this bookkeeping somewhere else. So I opted for adding more explicit reminder comments.

@nealrichardson nealrichardson changed the title ci: skip databricks tests on fork PRs ci: skip databricks tests on fork PRs, and update cross-compat tests for latest pins-R Mar 13, 2026
args <- commandArgs(trailingOnly = TRUE)

board <- board_folder(args[1])
board %>% pin_write(mtcars, "mtcars", type="csv")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was necessary because of rstudio/pins-r@a6de973, the latest version of pins doesn't include magrittr

Copy link
Collaborator

@isabelizimm isabelizimm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you for this maintenance!

@isabelizimm isabelizimm merged commit d7c0aa6 into rstudio:main Mar 13, 2026
10 checks passed
@nealrichardson nealrichardson deleted the fix-fork-ci branch March 13, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants