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..48e0ca01498f --- /dev/null +++ b/.github/workflows/yeast-test.yml @@ -0,0 +1,32 @@ +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 + +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