restore x86 testing - run downstream tests only on PRs (#173) #272
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
CI: | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch}} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.6' # LTS (lowest supported `julia` version declared in `Project.toml`) | |
- 'lts' | |
- '1' # latest stable | |
experimental: | |
- false | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
arch: [x64, x86] | |
exclude: | |
# test 32-bit only on Linux | |
- os: macos-latest | |
arch: x86 | |
- os: windows-latest | |
arch: x86 | |
# https://discourse.julialang.org/t/how-to-fix-github-actions-ci-failures-with-julia-1-6-or-1-7-on-macos-latest-and-macos-14 | |
- os: macos-latest | |
version: '1.6' | |
include: | |
- os: ubuntu-latest | |
version: 'nightly' | |
arch: x64 | |
experimental: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@latest | |
- uses: julia-actions/julia-runtest@latest | |
- uses: julia-actions/julia-processcoverage@latest | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: false | |
file: lcov.info | |
Skip: | |
if: "contains(github.event.head_commit.message, '[skip ci]')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Skip CI 🚫 | |
run: echo skip ci |