Skip to content

Commit a317386

Browse files
committed
Only run tests on relevant changes
1 parent d7742d8 commit a317386

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/test-java.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ on:
55
branches:
66
- main
77
- renovate/**
8+
paths:
9+
- java/**
10+
- testdata/**
11+
- .github/**
812
pull_request:
913
branches:
1014
- main
15+
paths:
16+
- java/**
17+
- testdata/**
18+
- .github/**
1119
workflow_call:
1220

1321
jobs:
@@ -31,4 +39,3 @@ jobs:
3139

3240
- run: mvn verify
3341
working-directory: java
34-

.github/workflows/test-javascript.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ on:
55
branches:
66
- main
77
- renovate/**
8+
paths:
9+
- javascript/**
10+
- testdata/**
11+
- .github/**
812
pull_request:
913
branches:
1014
- main
15+
paths:
16+
- javascript/**
17+
- testdata/**
18+
- .github/**
1119
workflow_call:
1220

1321
jobs:

.github/workflows/test-testdata.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- testdata/**
79
pull_request:
810
branches:
911
- main
12+
paths:
13+
- testdata/**
1014

1115
jobs:
1216
test-testdata:

0 commit comments

Comments
 (0)