From b874df6497cc2ddfb4bb3d54120b211dd76545a1 Mon Sep 17 00:00:00 2001 From: Taus Date: Tue, 6 Oct 2026 13:43:50 +0000 Subject: [PATCH 1/2] Shared: Tighten test triggers and add Yeast test workflow Removes the tree-sitter-extractor and yeast directories from the workflows that trigger tests for C#, Go, Rust, and Swift inside the /shared directory. Also adds a separate workflow for running the Yeast tests whenever changes are made inside /yeast, /yeast-macros, or /yeast-schema. --- .github/workflows/csharp-qltest.yml | 8 +++++++ .github/workflows/go-tests.yml | 4 ++++ .github/workflows/rust.yml | 3 +++ .github/workflows/swift.yml | 4 ++++ .github/workflows/yeast-test.yml | 35 +++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 .github/workflows/yeast-test.yml diff --git a/.github/workflows/csharp-qltest.yml b/.github/workflows/csharp-qltest.yml index fc8bc218fe76..38ea2790dbf0 100644 --- a/.github/workflows/csharp-qltest.yml +++ b/.github/workflows/csharp-qltest.yml @@ -5,6 +5,10 @@ on: paths: - "csharp/**" - "shared/**" + - "!shared/tree-sitter-extractor/**" + - "!shared/yeast/**" + - "!shared/yeast-macros/**" + - "!shared/yeast-schema/**" - "misc/bazel/**" - .github/actions/fetch-codeql/action.yml - codeql-workspace.yml @@ -16,6 +20,10 @@ on: paths: - "csharp/**" - "shared/**" + - "!shared/tree-sitter-extractor/**" + - "!shared/yeast/**" + - "!shared/yeast-macros/**" + - "!shared/yeast-schema/**" - "misc/bazel/**" - .github/workflows/csharp-qltest.yml - .github/actions/fetch-codeql/action.yml diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 6578f09b8dfc..5a3bc9342855 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -5,6 +5,10 @@ on: - "go/**" - "!go/documentation/**" - "shared/**" + - "!shared/tree-sitter-extractor/**" + - "!shared/yeast/**" + - "!shared/yeast-macros/**" + - "!shared/yeast-schema/**" - .github/workflows/go-tests.yml - .github/actions/** - codeql-workspace.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 34f5efb74ba6..6782733f7d2d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -7,6 +7,9 @@ on: - "misc/bazel/**" - "misc/codegen/**" - "shared/**" + - "!shared/yeast/**" + - "!shared/yeast-macros/**" + - "!shared/yeast-schema/**" - "MODULE.bazel" - .github/workflows/rust.yml - .github/actions/** diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 4a5613f988e5..3c9b0deb4a1f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -7,6 +7,10 @@ on: - "misc/bazel/**" - "misc/codegen/**" - "shared/**" + - "!shared/tree-sitter-extractor/**" + - "!shared/yeast/**" + - "!shared/yeast-macros/**" + - "!shared/yeast-schema/**" - "*.bazel*" - .github/workflows/swift.yml - .github/actions/** diff --git a/.github/workflows/yeast-test.yml b/.github/workflows/yeast-test.yml new file mode 100644 index 000000000000..5bff4ee2cb80 --- /dev/null +++ b/.github/workflows/yeast-test.yml @@ -0,0 +1,35 @@ +name: Test Yeast + +on: + push: + paths: + - "shared/yeast/**" + - "shared/yeast-macros/**" + - "shared/yeast-schema/**" + - .github/workflows/yeast-test.yml + branches: + - main + - "rc/*" + pull_request: + paths: + - "shared/yeast/**" + - "shared/yeast-macros/**" + - "shared/yeast-schema/**" + - .github/workflows/yeast-test.yml + branches: + - main + - "rc/*" + +env: + CARGO_TERM_COLOR: always + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - name: Run tests + run: cargo test --verbose --package codeql-extractor --package yeast --package yeast-macros --package yeast-schema From e7d447d5af46cb4d302bf42501a99b1049619ee8 Mon Sep 17 00:00:00 2001 From: Taus Date: Tue, 6 Oct 2026 14:13:57 +0000 Subject: [PATCH 2/2] Shared: Remove branch filter --- .github/workflows/yeast-test.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/yeast-test.yml b/.github/workflows/yeast-test.yml index 5bff4ee2cb80..48e0ca01498f 100644 --- a/.github/workflows/yeast-test.yml +++ b/.github/workflows/yeast-test.yml @@ -16,9 +16,6 @@ on: - "shared/yeast-macros/**" - "shared/yeast-schema/**" - .github/workflows/yeast-test.yml - branches: - - main - - "rc/*" env: CARGO_TERM_COLOR: always