Merge pull request #898 from satijalab/fix/test_integration #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
env: | |
GITHUB_PAT: ${{ secrets.PAT }} | |
jobs: | |
r-cmd-check: | |
if: "!contains(github.event.head_commit.message, 'ci-skip')" | |
name: R CMD check | |
container: | |
image: satijalab/seurat:develop | |
runs-on: [ self-hosted ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Remove vignettes dir | |
run: rm -rf 'vignettes/' | |
shell: bash | |
- name: Install additional dependencies | |
run: | | |
Rscript -e "remotes::install_github('mojaveazure/seurat-object', ref = 'feat/CalN_generic')" | |
Rscript -e "remotes::install_github('bnprks/BPCells')" | |
- name: Check | |
run: devtools::check(args = "--no-manual", error_on = "warning", check_dir = "check", force_suggests = FALSE) | |
shell: Rscript {0} | |
# - name: Upload check results | |
# if: failure() | |
# uses: actions/upload-artifact@master | |
# with: | |
# name: results | |
# path: check |