Skip to content

ci: run unit and integration tests on release branches - #797

Merged
axellpadilla merged 1 commit into
masterfrom
ci/test-release-branches
Aug 1, 2026
Merged

ci: run unit and integration tests on release branches#797
axellpadilla merged 1 commit into
masterfrom
ci/test-release-branches

Conversation

@axellpadilla

Copy link
Copy Markdown
Collaborator

Both workflows filter on branches: [master, v*]. GitHub matches the whole ref, so v* matches a branch literally named v1.11 — not release/v1.11, which is the naming this repo uses.

The effect is that a pull request targeting a release branch runs pre-commit only. No unit tests, no integration matrix. Backports are therefore the least-tested changes in the repo despite shipping first: #791 and #794 have no test coverage at all right now, and the 1.11 release would ship those fixes validated solely by their master-side counterparts.

Adds release/** to the push and pull_request filters of unit-tests.yml and integration-tests-sqlserver.yml.

Stacked pull requests — where the base is a feature branch rather than master or a release branch — remain uncovered. That is not fixable with a branch filter, since the base can be any branch name; those are validated once rebased onto master, or by dispatching the workflow against the branch (gh workflow run "Integration tests on SQL Server" --ref <branch>).

No milestone: CI-only, ships with whatever release is current.

Both workflows filtered on `branches: [master, v*]`. GitHub matches the
whole ref, so `v*` matches a branch literally named `v1.11` but not
`release/v1.11` — the naming this repo actually uses. Pull requests
targeting a release branch therefore ran pre-commit only: no unit tests
and no integration matrix.

That left backports as the least-tested changes in the repo, despite
shipping first. #791 and #794 currently have no test coverage at all.

Adding `release/**` to the push and pull_request filters of both
workflows. Stacked pull requests (base is a feature branch rather than
master or a release branch) are still uncovered by design; those are
validated once rebased, or by dispatching the workflow against the
branch.
@axellpadilla
axellpadilla enabled auto-merge August 1, 2026 07:50
@axellpadilla
axellpadilla merged commit 1f057d0 into master Aug 1, 2026
5 of 19 checks passed
@axellpadilla
axellpadilla deleted the ci/test-release-branches branch August 1, 2026 07:51
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