bump version to 0.1.6 #82
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 of the workflow | |
name: test | |
# when the workflow should run | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# independent jobs in the workflow | |
jobs: | |
# this workflow just has one job called "greet" | |
build: | |
# the operating system to use for this workflow | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
R: ['4.3.1'] | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
R_KEEP_PKG_SOURCE: yes | |
# list of steps in the workflow | |
steps: | |
# use an action provided by github to checkout the repo | |
- name: install required library | |
run: | | |
sudo apt-get update | |
sudo apt-get install libnetcdf19 libcurl4-openssl-dev libglpk-dev libnetcdf-dev libharfbuzz-dev libfribidi-dev | |
- uses: actions/checkout@v3 | |
- name: Setup R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: ${{ matrix.R }} | |
use-public-rspm: false | |
# it's needed since setup-renv doesn't support working directory yey https://github.com/r-lib/actions/issues/618 | |
- uses: r-lib/actions/setup-renv@v2 | |
- name: test | |
run: 'devtools::test(".")' | |
shell: Rscript {0} |