diff --git a/.github/workflows/CompareScreenshot.yml b/.github/workflows/CompareScreenshot.yml index 4ed56fd1..57a485ab 100644 --- a/.github/workflows/CompareScreenshot.yml +++ b/.github/workflows/CompareScreenshot.yml @@ -7,7 +7,7 @@ permissions: {} jobs: compare-screenshot-test: - runs-on: macos-latest + runs-on: ubuntu-latest timeout-minutes: 20 permissions: diff --git a/include-build/roborazzi-core/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/RoborazziOptions.kt b/include-build/roborazzi-core/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/RoborazziOptions.kt index 273a7f3f..2770cee4 100644 --- a/include-build/roborazzi-core/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/RoborazziOptions.kt +++ b/include-build/roborazzi-core/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/RoborazziOptions.kt @@ -129,7 +129,7 @@ data class RoborazziOptions( ) companion object { - val DefaultImageComparator = SimpleImageComparator(maxDistance = 0.007F) + val DefaultImageComparator = SimpleImageComparator(maxDistance = 0.007F, hShift = 2) val DefaultResultValidator = ThresholdValidator(0F) } }