Skip to content

Commit f3bbd09

Browse files
committed
ci: fix units filter to correctly exclude split repositories
1 parent ce4969b commit f3bbd09

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,11 @@ jobs:
3434
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
3535
id: filter
3636
with:
37-
# we want to run tests if source code is changed or the scripts
38-
# used to run the unit tests
3937
filters: |
4038
src:
41-
- '**/*.java'
42-
- '**/pom.xml'
43-
- '!java-bigquery/**'
44-
- '!java-bigquerystorage/**'
45-
- '!java-datastore/**'
46-
- '!java-logging-logback/**'
47-
- '!java-logging/**'
48-
- '!java-spanner/**'
49-
- '!java-storage/**'
50-
- '!google-auth-library-java/**'
39+
- '!(java-bigquery|java-bigquerystorage|java-datastore|java-logging-logback|java-logging|java-spanner|java-storage|google-auth-library-java)/**/*.java'
40+
- '!(java-bigquery|java-bigquerystorage|java-datastore|java-logging-logback|java-logging|java-spanner|java-storage|google-auth-library-java)/**/pom.xml'
41+
- 'pom.xml'
5142
ci:
5243
- '.github/workflows/ci.yaml'
5344
- '.kokoro/**'

0 commit comments

Comments
 (0)