adding site badge #32
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
name: BiomaesteR Build Check and Tests | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build-check-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up R | |
uses: r-lib/actions/setup-r@v2 | |
- name: Install packages | |
uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
packages: | | |
any::devtools | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Install BiocManager | |
run: Rscript -e "install.packages('BiocManager')" | |
- name: Install BiomaesteR | |
run: Rscript -e "devtools::install(repos = BiocManager::repositories())" | |
- name: Check BiomaesteR | |
run: Rscript -e "devtools::check(vignettes = FALSE)" | |
- name: Run unit tests (BiomaesteR) | |
run: Rscript -e "devtools::test()" | |