Skip to content

Commit

Permalink
New Git Action, build and unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattssca committed Jan 10, 2024
1 parent 1f30f86 commit fd1f30a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: BiomaesteR Build Check and Tests

on:
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}

steps:
- name: Build package
run: Rscript -e "devtools::install()"

- name: Check package
run: Rscript -e "devtools::check(vignettes = FALSE)"

- name: Run unit tests
run: Rscript -e "devtools::test()"

0 comments on commit fd1f30a

Please sign in to comment.