Skip to content

CI: Expanded testing #38

CI: Expanded testing

CI: Expanded testing #38

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags: ['*']
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.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.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:
version:
- '1'
- lts
- '1.6'
os:
- ubuntu-latest
- macOS-latest # aarch64 runner
- macOS-13 # x64 runner
- windows-latest
arch:
- x64
- aarch64
- x86
exclude:
- os: macOS-13
arch: aarch64
- os: macOS-latest
arch: x64
- os: macOS-latest
version: '1.6'
- os: macOS-latest
arch: x86
- os: macOS-13
arch: x86
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: aarch64
include:
- os: ubuntu-latest
arch: x64
version: nightly
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 2
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}