Skip to content

Commit d465bb3

Browse files
fixing CI not testing :metadata-integration:java:datahub-schematron:cli:test
1 parent defce5e commit d465bb3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/check-datahub-jars.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches:
66
- master
77
paths:
8-
- "metadata-integration"
8+
- "metadata-integration/**"
99
pull_request:
1010
branches:
1111
- "**"
1212
paths:
13-
- "metadata-integration"
13+
- "metadata-integration/**"
1414
release:
1515
types: [published]
1616

metadata-integration/java/datahub-client/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ test {
9292
finalizedBy jacocoTestReport
9393
}
9494

95+
// no submodule depends on datahub-schematron:cli
96+
// and tests there are the ones checking python-java compatibility
97+
test.dependsOn tasks.getByPath(":metadata-integration:java:datahub-schematron:cli:test")
98+
9599
task checkShadowJar(type: Exec) {
96100
commandLine 'sh', '-c', 'scripts/check_jar.sh'
97101
}

0 commit comments

Comments
 (0)