From 6804c134cedf2462c8df1a59002a73d5a8489377 Mon Sep 17 00:00:00 2001 From: Sam Isaacson Date: Fri, 6 Nov 2026 19:27:50 -0500 Subject: [PATCH] Add a coverage input to downgrade.yml The downgrade workflow's julia-runtest step sets no `coverage`, so julia-runtest's default (true) applies: the tests run with code coverage, which instruments the package's code and slows its tests (2-3x on JumpProcesses' test files), while nothing in this workflow processes or uploads the coverage. Unlike tests.yml, grouped-tests.yml and documentation.yml, it has no input to turn coverage off. Add a `coverage` input (boolean, default true, so existing callers are unaffected) and pass it to julia-runtest. Add it to the README's input table. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/downgrade.yml | 6 ++++++ README.md | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/downgrade.yml b/.github/workflows/downgrade.yml index 7339b5a..574bf65 100644 --- a/.github/workflows/downgrade.yml +++ b/.github/workflows/downgrade.yml @@ -58,6 +58,11 @@ on: default: "" required: false type: string + coverage: + description: "Run the tests with code coverage (julia-runtest's `coverage`). This workflow doesn't process or upload it, so `false` only saves test time." + default: true + required: false + type: boolean jobs: downgrade: @@ -189,5 +194,6 @@ jobs: # and fails resolution (e.g. "empty intersection between X@min and project # compatibility latest"). Downgrade tests must keep the minimum versions. force_latest_compatible_version: false + coverage: "${{ inputs.coverage }}" env: GROUP: "${{ inputs.group }}" diff --git a/README.md b/README.md index 8bace7b..8835f25 100644 --- a/README.md +++ b/README.md @@ -262,6 +262,7 @@ to catch under-specified `[compat]` lower bounds. | `self-hosted` / `os` | | `false` / `ubuntu-latest` | Runner selection. | | `apt-packages` | string | `""` | Space-separated apt packages to install before building/testing (Linux only). | | `container` | string | `""` | Docker container image to run the job in (e.g. `cmhyett/julia-fenics:latest` for Python-stack packages). Empty = no container. | +| `coverage` | boolean | `true` | Run the tests with code coverage (julia-runtest's `coverage`). Nothing here processes or uploads it; `false` saves test time. | ```yaml jobs: