Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Allow R acceptance tests to run from a branch #1147

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/full-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ on:
required: false
default: ""
type: string
tiledbsoma_r_branch:
# e.g.
description: "Install tiledbsoma from a specific branch"
required: false
default: ""
type: string

jobs:
py_unit_tests:
Expand Down Expand Up @@ -110,6 +116,13 @@ jobs:
extra-packages: any::rcmdcheck, any::remotes
cache: true

- name: install tiledbsoma version override
if: github.event_name == 'workflow_dispatch' && github.event.inputs.tiledbsoma_r_branch != ''
run: |
Rscript -e 'remove.packages(c("tiledb", "tiledbsoma"))'
Rscript -e 'install.packages("remotes")'
Rscript -e 'remotes::install_github("https://github.com/single-cell-data/TileDB-SOMA@${{ github.event.inputs.tiledbsoma_r_branch }}", subdir = "apis/r")'

- name: testthat
run: |
Rscript -e 'remotes::install_local("./api/r/cellxgene.census")'
Expand Down
Loading