Skip to content

ci: run the full test matrix against the release branch - #121

Merged
jdhughes-dev merged 1 commit into
MODFLOW-ORG:developfrom
jdhughes-dev:ci-test-release-branch
Sep 6, 2026
Merged

ci: run the full test matrix against the release branch#121
jdhughes-dev merged 1 commit into
MODFLOW-ORG:developfrom
jdhughes-dev:ci-test-release-branch

Conversation

@jdhughes-dev

Copy link
Copy Markdown
Contributor

A bot pushes the release branch and opens the release pull request, and neither a push nor a pull_request event fires for a bot using the workflow token. The 1.0.1 release pull request carried no checks at all — no checks reported on the 'v1.0.1' branch. Preparing the release ran one job's worth of tests in passing, which is not the matrix that guards develop.

  • ci.yml gains a workflow_call trigger and an optional ref input, threaded through every checkout. Empty means the triggering ref, so push and pull_request behaviour is unchanged.
  • release.yml calls it against the branch prep just pushed, and no longer runs tests inside prep.
  • Drafting the pull request moves to its own job that waits on the matrix, so a release that fails the tests never reaches review. run_tests: false still skips the matrix, and the pull request is still drafted.

The called workflow uses a distinct concurrency group so it cannot cancel the release that started it.

A bot pushes the release branch and opens the release pull request, and
neither a push nor a pull_request event fires for a bot using the workflow
token, so the 1.0.1 pull request carried no checks at all. Preparing the
release ran a single job's worth of tests in passing, which is not the
matrix that guards develop.

Continuous integration is now callable and takes the ref to test, and the
release workflow calls it against the branch it just pushed. Preparing the
release no longer runs tests itself, and the pull request is drafted in a
separate job that waits for the matrix, so a release that fails the tests
never reaches review.
@jdhughes-dev
jdhughes-dev merged commit 83cd8b4 into MODFLOW-ORG:develop Sep 6, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant