Skip to content

Bump actions/checkout from 5 to 6 #50

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #50

Workflow file for this run

name: CI
on:
push:
branches:
- main
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.0', '1.6', 'lts', '1', 'nightly' ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
arch: [ x64, x86, aarch64 ]
exclude:
# aarch64 not supported outside macOS
- arch: aarch64
os: ubuntu-latest
- arch: aarch64
os: windows-latest
# aarch64 incompatible with version 1.0 and 1.6
- version: '1.0'
arch: aarch64
- version: '1.6'
arch: aarch64
# macOS incompatable with x86
- arch: x86
os: macos-latest
# Cut down CI load
- os: windows-latest
version: '1.0'
- os: windows-latest
version: '1.6'
- os: macos-latest
version: '1.6'
- arch: x86
version: 1.6
- arch: x64
version: 'lts'
os: windows-latest
- arch: x86
version: '1'
os: windows-latest
- os: macos-latest
version: 'lts'
arch: x64
- os: macos-latest
version: '1'
arch: aarch64
- os: macos-latest
version: 'nightly'
arch: x64
steps:
- uses: actions/checkout@v6
- 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
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}