Skip to content

Commit 36994cd

Browse files
authored
Merge pull request #22762 from github/tausbn/shared-tighten-test-triggers
Shared: Tighten test triggers and add Yeast test workflow
2 parents 89844db + e7d447d commit 36994cd

5 files changed

Lines changed: 51 additions & 0 deletions

File tree

‎.github/workflows/csharp-qltest.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
paths:
66
- "csharp/**"
77
- "shared/**"
8+
- "!shared/tree-sitter-extractor/**"
9+
- "!shared/yeast/**"
10+
- "!shared/yeast-macros/**"
11+
- "!shared/yeast-schema/**"
812
- "misc/bazel/**"
913
- .github/actions/fetch-codeql/action.yml
1014
- codeql-workspace.yml
@@ -16,6 +20,10 @@ on:
1620
paths:
1721
- "csharp/**"
1822
- "shared/**"
23+
- "!shared/tree-sitter-extractor/**"
24+
- "!shared/yeast/**"
25+
- "!shared/yeast-macros/**"
26+
- "!shared/yeast-schema/**"
1927
- "misc/bazel/**"
2028
- .github/workflows/csharp-qltest.yml
2129
- .github/actions/fetch-codeql/action.yml

‎.github/workflows/go-tests.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- "go/**"
66
- "!go/documentation/**"
77
- "shared/**"
8+
- "!shared/tree-sitter-extractor/**"
9+
- "!shared/yeast/**"
10+
- "!shared/yeast-macros/**"
11+
- "!shared/yeast-schema/**"
812
- .github/workflows/go-tests.yml
913
- .github/actions/**
1014
- codeql-workspace.yml

‎.github/workflows/rust.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- "misc/bazel/**"
88
- "misc/codegen/**"
99
- "shared/**"
10+
- "!shared/yeast/**"
11+
- "!shared/yeast-macros/**"
12+
- "!shared/yeast-schema/**"
1013
- "MODULE.bazel"
1114
- .github/workflows/rust.yml
1215
- .github/actions/**

‎.github/workflows/swift.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- "misc/bazel/**"
88
- "misc/codegen/**"
99
- "shared/**"
10+
- "!shared/tree-sitter-extractor/**"
11+
- "!shared/yeast/**"
12+
- "!shared/yeast-macros/**"
13+
- "!shared/yeast-schema/**"
1014
- "*.bazel*"
1115
- .github/workflows/swift.yml
1216
- .github/actions/**

‎.github/workflows/yeast-test.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test Yeast
2+
3+
on:
4+
push:
5+
paths:
6+
- "shared/yeast/**"
7+
- "shared/yeast-macros/**"
8+
- "shared/yeast-schema/**"
9+
- .github/workflows/yeast-test.yml
10+
branches:
11+
- main
12+
- "rc/*"
13+
pull_request:
14+
paths:
15+
- "shared/yeast/**"
16+
- "shared/yeast-macros/**"
17+
- "shared/yeast-schema/**"
18+
- .github/workflows/yeast-test.yml
19+
20+
env:
21+
CARGO_TERM_COLOR: always
22+
23+
permissions:
24+
contents: read
25+
26+
jobs:
27+
test:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v5
31+
- name: Run tests
32+
run: cargo test --verbose --package codeql-extractor --package yeast --package yeast-macros --package yeast-schema

0 commit comments

Comments
 (0)