Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix UI tests on Azure #946

Merged
merged 1 commit into from
May 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,16 @@ jobs:
vmImage: 'xcode9-macos10.13'

steps:
- script: |
mkdir build
wget "https://cdn.azul.com/zulu/bin/zulu8.38.0.13-ca-fx-jdk8.0.212-macosx_x64.tar.gz" -O "build/jdk.tar.gz"
sudo tar xzvf build/jdk.tar.gz -C /Library/Java/JavaVirtualMachines/
displayName: 'Install ZuluFX'
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
gradleOptions: '-Xmx3072m -Dorg.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu8.38.0.13-ca-fx-jdk8.0.212-macosx_x64'
publishJUnitResults: false
tasks: 'check jacocoTestReport jacocoRootReport -Pheadless=true -Pgeneration -PlogTests --stacktrace'
- script: |
Expand Down
8 changes: 4 additions & 4 deletions ui/ui.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ dependencies {
testCompile(files(coreTestOutput))
testCompile(files(coreTestOutput.resourcesDir))

// Note: testfx is ONLY usable on JDK 8, so we have to use the versions
testCompile(group = "org.testfx", name = "testfx-core", version = "4.0.5-alpha")
testCompile(group = "org.testfx", name = "testfx-junit", version = "4.0.5-alpha")
testRuntime(group = "org.testfx", name = "openjfx-monocle", version = "1.8.0_20")
// Note: testfx is ONLY usable on JDK 8, so we have to use the versions compatible with it
testCompile(group = "org.testfx", name = "testfx-core", version = "4.0.7-alpha")
testCompile(group = "org.testfx", name = "testfx-junit", version = "4.0.7-alpha")
testRuntime(group = "org.testfx", name = "openjfx-monocle", version = "8u76-b04")
testCompile(group = "org.opencv", name = "opencv-java", version = "3.1.0")
}

Expand Down