From d2a27f6d31731ba60fb6a54c08a39e0436f5d0d3 Mon Sep 17 00:00:00 2001 From: Axell Padilla <68310020+axellpadilla@users.noreply.github.com> Date: Sat, 1 Aug 2026 07:49:43 +0000 Subject: [PATCH] ci: run unit and integration tests on release branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/integration-tests-sqlserver.yml | 2 ++ .github/workflows/unit-tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/integration-tests-sqlserver.yml b/.github/workflows/integration-tests-sqlserver.yml index 4cc6c748..551769cf 100644 --- a/.github/workflows/integration-tests-sqlserver.yml +++ b/.github/workflows/integration-tests-sqlserver.yml @@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy branches: - master - v* + - release/** paths: - 'dbt/**' - 'tests/functional/**' @@ -20,6 +21,7 @@ on: # yamllint disable-line rule:truthy branches: - master - v* + - release/** paths: - 'dbt/**' - 'tests/functional/**' diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 0ab2732b..231f5ed2 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -6,10 +6,12 @@ on: # yamllint disable-line rule:truthy branches: - master - v* + - release/** pull_request: branches: - master - v* + - release/** schedule: - cron: '0 22 * * 0'