Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# `min` resolves the lower bound of *this* package's `[compat] julia` entry and `1` the current
# stable release, so one identical matrix still tests the right versions in a tree whose compat
# floors are 1.10 and 1.11. The check names therefore never change — not when a package raises its
# floors are 1.10, 1.11 and 1.12. The check names therefore never change — not when a package raises its
# floor, and not when Julia releases. That is what lets harness ci-protection use one static list.
#
# `pre` and `nightly` are advisory (`experimental: true` + `continue-on-error`): a failure in an
Expand Down Expand Up @@ -57,8 +57,10 @@ jobs:
env:
# Instrument and upload coverage in a single matrix entry only. Uploading from all six
# makes Codecov merge six reports of the same scope per run, and the merged percentage
# then moves for reasons that are not code changes.
COVERAGE: ${{ matrix.version == 'min' && matrix.os == 'ubuntu-latest' }}
# then moves for reasons that are not code changes. The entry is `1`, not `min`:
# instrumentation makes the job that carries the coverage the slowest of the matrix,
# and `min` is already the slowest Julia.
COVERAGE: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
# Two threads, everywhere: a runner has more than one core, and a suite with a threading
# test is otherwise silently single-threaded.
JULIA_NUM_THREADS: 2
Expand Down Expand Up @@ -94,6 +96,11 @@ jobs:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v3
with:
# Save only from a job that succeeds. A cancelled or failed job saves a partial
# cache, the next run of the branch restores it, and that job then precompiles
# some 300 packages again.
save-always: false
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ first entry is written.

### Changed

- **CI uploads coverage from the `Julia 1 - ubuntu-latest` job** instead of `Julia min`, and a
test job saves the Julia cache only when it succeeds.
- **`test/Project.toml` no longer carries a `[compat]` entry for `HDF5`** (`"0.16, 0.17"`).
`HDF5` is a dependency of the root `Project.toml`, whose `[compat]` bound governs the test
environment too. A test or docs project keeps `[compat]` entries only for its own test-only or
Expand Down
Loading