Skip to content

Expanding and updating CI #2703

Expanding and updating CI

Expanding and updating CI #2703

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
# Cancel redundant CI tests automatically
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Tests ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
os:
- ubuntu-latest
- windows-latest
- macos-latest
arch:
- x64
- x86
- aarch64
exclude: # Exclude some combinations
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: aarch64
- os: macos-latest
arch: x64
- os: macos-latest
arch: x86
include: # Legacy support for old Julia versions
- version: '1.8'
os: ubuntu-latest
arch: x64
- version: '1.9'
os: ubuntu-latest
arch: x64
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
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
file: lcov.info
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
drivers:
name: Drivers ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
os:
- ubuntu-latest
arch:
- x64
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
- run: |
julia --color=yes --project=. --check-bounds=yes --depwarn=error -e '
using Pkg; Pkg.instantiate()'
- run: |
julia --color=yes --project=. --check-bounds=yes --depwarn=error -e '
include("test/GridapTests/runtests.jl")'