From b5bc431a311761a9fbce16c9eb0d05a6970ab7eb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 1 Dec 2026 18:58:46 -0800 Subject: [PATCH] ci: run the postgres_flat tests on changes anywhere under weed/ The tests run master, volume, filer, S3 and a mount, so changes in packages such as weed/pb, weed/wdclient or weed/credential reach them too. Match the FUSE integration workflow and also trigger on the fusermount action the job uses. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/postgres-flat-tests.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/postgres-flat-tests.yml b/.github/workflows/postgres-flat-tests.yml index ea74f9f25e..1a9f096f58 100644 --- a/.github/workflows/postgres-flat-tests.yml +++ b/.github/workflows/postgres-flat-tests.yml @@ -4,32 +4,24 @@ on: push: branches: [ master ] paths: - - 'weed/filer/**' - - 'weed/server/**' - - 'weed/s3api/**' - - 'weed/mount/**' - - 'weed/command/**' - - 'weed/util/**' + - 'weed/**' - 'test/postgres_flat/**' - 'test/testutil/**' - 'test/volume_server/framework/**' - 'go.mod' - 'go.sum' - '.github/workflows/postgres-flat-tests.yml' + - '.github/actions/fix-fusermount-setuid/**' pull_request: paths: - - 'weed/filer/**' - - 'weed/server/**' - - 'weed/s3api/**' - - 'weed/mount/**' - - 'weed/command/**' - - 'weed/util/**' + - 'weed/**' - 'test/postgres_flat/**' - 'test/testutil/**' - 'test/volume_server/framework/**' - 'go.mod' - 'go.sum' - '.github/workflows/postgres-flat-tests.yml' + - '.github/actions/fix-fusermount-setuid/**' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}