Skip to content

Fix CI: Remove paths filter and update matrix for macOS #140

Fix CI: Remove paths filter and update matrix for macOS

Fix CI: Remove paths filter and update matrix for macOS #140

Workflow file for this run

name: CI
on:
push:
branches:
- master
- main
# paths section removed to ensure CI runs on all commits (including workflow edits)
pull_request:
concurrency:
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 }}
strategy:
fail-fast: false
matrix:
version:
- '1.10' # LTS
- '1' # Latest Stable
os:
- ubuntu-latest
- windows-latest
- macos-13 # Explicit Intel Mac
- macos-latest # Explicit Apple Silicon Mac
arch:
- x64
- aarch64
exclude:
# Linux and Windows runners are x64 only on GitHub Actions (usually)
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: aarch64
# macOS-13 is the last Intel runner
- os: macos-13
arch: aarch64
# macOS-latest is Apple Silicon; avoiding x64 avoids Rosetta emulation confusion
- os: macos-latest
arch: x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
# Use the dedicated Julia cache action (cleaner than manual caching)
- uses: julia-actions/cache@v2
# Note: No TetrapodsRegistry needed here for WaveletsExt
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
GKSwstype: "100" # Fix for headless plotting
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false