From 28c00cb8d1451d236c60b3937f5dff0a2326cc39 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 19 May 2026 23:56:17 +0800 Subject: [PATCH] ci(tests): run unit tests on every push to feat/** branches - Add feat/** to push branches so long-lived feature branches are tested on every push (they accumulate large changes before a PR) - Drop the push path filter entirely: every push to master/develop/ feat/** now runs the full unit suite (the old 'pkg/**' filter never matched the real source path 'src/langbot/pkg/**', so backend-only pushes silently skipped tests) - Fix the same broken path glob on the pull_request trigger ('pkg/**' -> 'src/langbot/pkg/**') Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/run-tests.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a23ba8a3..eb9b1582 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, ready_for_review, synchronize] paths: - - 'pkg/**' + - 'src/langbot/pkg/**' - 'tests/**' - '.github/workflows/run-tests.yml' - 'pyproject.toml' @@ -13,12 +13,10 @@ on: branches: - master - develop - paths: - - 'pkg/**' - - 'tests/**' - - '.github/workflows/run-tests.yml' - - 'pyproject.toml' - - 'run_tests.sh' + - 'feat/**' + # No path filter on push: every push to the branches above runs the + # full unit-test suite. feat/** branches in particular must be tested + # on every push (they accumulate large changes before a PR exists). jobs: test: