Skip to content

Update Julia compat to 1.10 and update CI setup #287

Update Julia compat to 1.10 and update CI setup

Update Julia compat to 1.10 and update CI setup #287

Workflow file for this run

name: CI
on:
push:
branches: [master]
tags: ["*"]
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ (matrix.arch == '') && runner.arch || matrix.arch }} - ${{ github.event_name }}

Check failure on line 9 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 11): Unrecognized named-value: 'runner'. Located at position 24 within expression: (matrix.arch == '') && runner.arch || matrix.arch
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- 'min'
- 'lts'
- '1'
- 'pre'
os:
- ubuntu-latest # Apple Silicon
- macOS-latest
- windows-latest
arch:
- ''
include:
- os: ubuntu-latest
arch: x86
version: 1
- os: windows-latest
arch: x86
version: 1
- os: macOS-13 # Intel
arch: ''
version: 1
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ (matrix.arch == '') && runner.arch || matrix.arch }}
- uses: julia-actions/cache@v2
- 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: true