Skip to content

Commit 19e8894

Browse files
committed
Added logging of used python installation for testing
1 parent 896ca92 commit 19e8894

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repositories {
3636
ext {
3737
set('snippetsDir', file('build/generated-snippets'))
3838
applicationProperties = System.getProperty('applicationProperties', './src/test/resources/test-config/application-test.properties')
39-
pythonLocation = System.getProperty('pythonExecutable', 'file:///usr/bin/python3')
39+
pythonExecutable = System.getProperty('pythonExecutable', 'file:///usr/bin/python3')
4040
}
4141

4242
dependencies {
@@ -90,9 +90,9 @@ test {
9090
outputs.dir snippetsDir
9191
finalizedBy jacocoTestReport
9292
print("Running tests with configuration: ${applicationProperties}")
93+
print("Running tests with python: ${pythonExecutable}")
9394
environment 'spring.config.location', applicationProperties
94-
environment 'pythonLocation', pythonLocation
95-
// environment 'spring.config.location', 'classpath:/test-config/'
95+
environment 'pythonLocation', pythonExecutable
9696
useJUnitPlatform()
9797
}
9898

0 commit comments

Comments
 (0)