Skip to content

mirrored_lollipop_plot.R #38

mirrored_lollipop_plot.R

mirrored_lollipop_plot.R #38

Workflow file for this run

name: GAMBLR.viz build check
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Conda
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Create conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: r
channels: conda-forge,nodefaults
python-version: 3.11
auto-activate-base: false
environment-file: envs/r.yaml
- name: Build package
run:
Rscript --vanilla -e "devtools::install(repos = BiocManager::repositories(), upgrade = FALSE)"
- name: Check package
run:
Rscript --vanilla -e "devtools::check(vignettes = FALSE, args = '--no-examples')"
- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check