-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 1.03 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI
on:
push:
branches:
- '**'
paths-ignore:
- '*.md'
- '*.MD'
- '*.ignore'
- LICENSE
jobs:
SigGenes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Run everything via the Bioconductor docker image as it has almost all dependencies preinstalled
- name: devtools-check-docker
run: |
bioc_install='BiocManager::install(c("edgeR", "limma", "Matrix", "S4Vectors", "scuttle", "SummarizedExperiment", "SingleCellExperiment"))'
dev_check='devtools::check("/SigGenes/")'
dev_doc='devtools::document("/SigGenes/")'
testthat='testthat::test_file("/SigGenes/tests/testthat/all_tests.R")'
#docker run -v "$(pwd)":"/SigGenes/" bioconductor/bioconductor_docker:RELEASE_3_18 Rscript --vanilla -e "${bioc_install}; ${dev_check}; ${dev_doc}; ${testthat}"
docker run -v "$(pwd)":"/SigGenes/" bioconductor/bioconductor_docker:RELEASE_3_19 Rscript --vanilla -e "${bioc_install}; ${dev_check}; ${dev_doc}; ${testthat}"