Skip to content
Closed
Changes from all commits
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
17 changes: 14 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
contents: write
strategy:
matrix:
r: [4.5]
screp: [2.7.3, 2.9.1]

steps:
- uses: actions/checkout@v7
Expand All @@ -36,7 +36,7 @@ jobs:
uses: r-lib/actions/setup-r@v2
id: setup-r
with:
r-version: ${{ matrix.r }}
r-version: 4.5
Ncpus: '2L'
use-public-rspm: true
# cran: https://packagemanager.posit.co/cran/2025-10-01
Expand All @@ -60,6 +60,17 @@ jobs:
any::hdf5r, any::gsl, any::plotly, any::htmlwidgets,
github::slowkow/[email protected]

- name: Install specific scRepertoire version
run: |
screp_version <- Sys.getenv("SCREP_VERSION")
remotes::install_github(paste0("BorchLab/scRepertoire@v", screp_version))
env:
SCREP_VERSION: ${{ matrix.screp }}

- name: Show versions of all packages
run: |
print(installed.packages()[, "Version", drop = FALSE])

- uses: r-lib/actions/check-r-package@v2
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down Expand Up @@ -92,7 +103,7 @@ jobs:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}

- name: Deploy to GitHub pages
if: github.event_name != 'pull_request' && matrix.r == '4.5'
if: github.event_name != 'pull_request' && matrix.screp == '2.9.1'
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: false
Expand Down