Skip to content

v0.5.1

v0.5.1 #185

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
paths:
- Project.toml
- src/**
- test/**
pull_request:
workflow_dispatch:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.config.version }} - ${{ matrix.config.os }} - ${{ matrix.config.arch }} - ${{ matrix.config.R }} - ${{ github.event_name }}
runs-on: ${{ matrix.config.os }}
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, version: 'pre', arch: 'x64', R: 'release'}
- {os: ubuntu-latest, version: '1.11', arch: 'x64', R: 'release'}
- {os: ubuntu-latest, version: '1.12', arch: 'x64', R: 'release'}
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.config.version }}
arch: ${{ matrix.config.arch }}
- uses: julia-actions/cache@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.R }}
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: |
tidyverse
pomp
- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
if: matrix.config.os == 'ubuntu-latest'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false