Skip to content

Restrict numpy<2 and bump actions #94

Restrict numpy<2 and bump actions

Restrict numpy<2 and bump actions #94

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
- main
- /^release-.*$/
paths:
- '.github/workflows/CI.yml'
- 'test/**'
- 'src/**'
- 'Project.toml'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/CI.yml'
- 'test/**'
- 'src/**'
- 'Project.toml'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1'
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
include:
- os: windows-latest
version: '1'
arch: x64
- os: macos-latest
version: '1'
arch: x64
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2 # https://github.com/julia-actions/cache
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info