commit 1d58a6bce34c3b6ddb0c9a5a7843e009bf79dd79
parent 6db40ae9dcb65877f4a6f26cffb9f2f671cbb264
Author: Erik Loualiche <eloualic@umn.edu>
Date: Wed, 25 Feb 2026 09:50:59 -0600
add PR trigger to CI; run latest on PRs, add nightly on tags
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat:
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
@@ -2,31 +2,24 @@ name: CI
on:
push:
tags: ['v*']
+ pull_request:
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 }}
+ name: Julia ${{ matrix.version }} - ${{ github.event_name }}
+ runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- - '1.11'
- - 'nightly'
- os:
- - ubuntu-latest
- arch:
- - x64
+ - '1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@latest
@@ -35,6 +28,20 @@ jobs:
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
- token: ${{ secrets.CODECOV_TOKEN }} # required
+ token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
file: lcov.info
+ test-nightly:
+ name: Julia nightly
+ if: startsWith(github.ref, 'refs/tags/v')
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: julia-actions/setup-julia@v1
+ with:
+ version: nightly
+ - uses: julia-actions/cache@v1
+ - uses: julia-actions/julia-buildpkg@v1
+ - uses: julia-actions/julia-runtest@latest
+ env:
+ DATADEPS_ALWAYS_ACCEPT: true