Skip to content

Merge pull request #3 from UBC-Stat-ML/fix-non-pos-def #8

Merge pull request #3 from UBC-Stat-ML/fix-non-pos-def

Merge pull request #3 from UBC-Stat-ML/fix-non-pos-def #8

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version: ['1', 'nightly']
arch: [x64]
os: [ubuntu-latest, windows-latest, macOS-latest]
R: ['release']
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: ${{ matrix.R }}
- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'
- name: Install fftw
run: sudo apt-get install -y fftw3-dev
if: matrix.os == 'ubuntu-latest'
- name: install-mcmcse
run: Rscript -e "install.packages('mcmcse', repos='https://cloud.r-project.org')"
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1