From 52ca644866b8baf4712e145ae2c74ebca3a963f2 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 1 Dec 2026 18:25:39 -0800 Subject: [PATCH] ci: run the postgres_flat tests on pull requests to any branch Like the S3 workflows, so a stacked pull request runs them too, and only when the code they reach changes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK --- .github/workflows/postgres-flat-tests.yml | 25 +++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/postgres-flat-tests.yml b/.github/workflows/postgres-flat-tests.yml index 5fba9a6552..ea74f9f25e 100644 --- a/.github/workflows/postgres-flat-tests.yml +++ b/.github/workflows/postgres-flat-tests.yml @@ -2,16 +2,33 @@ name: "postgres_flat Filer Store Tests" on: push: - branches: [ master, main ] + branches: [ master ] paths: - - 'weed/**' + - 'weed/filer/**' + - 'weed/server/**' + - 'weed/s3api/**' + - 'weed/mount/**' + - 'weed/command/**' + - 'weed/util/**' - 'test/postgres_flat/**' + - 'test/testutil/**' + - 'test/volume_server/framework/**' + - 'go.mod' + - 'go.sum' - '.github/workflows/postgres-flat-tests.yml' pull_request: - branches: [ master, main ] paths: - - 'weed/**' + - 'weed/filer/**' + - 'weed/server/**' + - 'weed/s3api/**' + - 'weed/mount/**' + - 'weed/command/**' + - 'weed/util/**' - 'test/postgres_flat/**' + - 'test/testutil/**' + - 'test/volume_server/framework/**' + - 'go.mod' + - 'go.sum' - '.github/workflows/postgres-flat-tests.yml' concurrency: