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
8 changes: 8 additions & 0 deletions .github/workflows/downgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
default: "."
required: false
type: string
project:
description: "Value passed to --project for build & test (e.g. a workspace submodule or lib/X). Default '@.' builds/tests the repo root."
default: "@."
required: false
type: string
mode:
description: "julia-downgrade-compat mode: deps (direct), alldeps (deps+weakdeps), weakdeps, or forcedeps (strict lower-bound verification). Empty uses the action default."
default: ""
Expand Down Expand Up @@ -62,9 +67,12 @@ jobs:
mode: "${{ inputs.mode }}"

- uses: julia-actions/julia-buildpkg@v1
with:
project: "${{ inputs.project }}"

- uses: julia-actions/julia-runtest@v1
with:
project: "${{ inputs.project }}"
allow_reresolve: "${{ inputs.allow-reresolve }}"
env:
GROUP: "${{ inputs.group }}"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ to catch under-specified `[compat]` lower bounds.
| `group` | string | `""` | Test group. |
| `skip` | string | `"Pkg,TOML"` | Comma-separated deps to skip when downgrading. |
| `projects` | string | `"."` | Comma-separated project dirs to downgrade. |
| `project` | string | `"@."` | `--project` for build/test (a workspace submodule or `lib/X`); default tests the repo root. |
| `allow-reresolve` | boolean | `false` | Let Pkg relax the downgraded env when running tests. |
| `self-hosted` / `os` | | `false` / `ubuntu-latest` | Runner selection. |

Expand Down
Loading