Skip to content

Add a model argument to getparams and setparams!! functions #375

Add a model argument to getparams and setparams!! functions

Add a model argument to getparams and setparams!! functions #375

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
strategy:
matrix:
version:
- '1.6'
- '1'
- nightly
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x86
- x64
num_threads:
- 1
- 2
exclude:
- os: windows-latest
arch: x86
- os: macOS-latest
arch: x86
- version: '1.6'
num_threads: 2
include:
- version: '1'
os: ubuntu-latest
arch: x64
num_threads: 1
coverage: true
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
with:
cache-packages: "false" # caching Conda.jl causes precompilation error
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
JULIA_NUM_THREADS: ${{ matrix.num_threads }}
- uses: julia-actions/julia-processcoverage@v1
if: matrix.coverage
- uses: codecov/codecov-action@v1
if: matrix.coverage
with:
file: lcov.info
- uses: coverallsapp/github-action@master
if: matrix.coverage
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info