From 81988f398793d4c123a1c1e02906e69474be78fd Mon Sep 17 00:00:00 2001 From: Gerd Aschemann Date: Sat, 17 Aug 2024 10:31:08 +0200 Subject: [PATCH] WIP Let Gradle drive the integration tests --- .github/workflows/test-java-os-mix.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-java-os-mix.yml b/.github/workflows/test-java-os-mix.yml index dfd88392..7d96bcf2 100644 --- a/.github/workflows/test-java-os-mix.yml +++ b/.github/workflows/test-java-os-mix.yml @@ -40,22 +40,18 @@ jobs: - name: Make HSC file executable run: chmod +x htmlSanityCheck-cli/build/install/hsc/bin/hsc - - name: Execute (Gradle Plugin) integration test (on Unixes) + - name: Execute integration tests (Unixes) if: runner.os != 'Windows' run: | - cd integration-test/gradle-plugin uname -a - ../../gradlew --version - ../../gradlew htmlSanityCheck --scan + ./gradlew integrationTestOnly --scan - - name: Execute (Gradle Plugin) integration test (Windows) + - name: Execute integration tests (Windows) if: runner.os == 'Windows' shell: pwsh run: | - cd integration-test/gradle-plugin uname -a - cmd /c "echo off && ..\..\gradlew.bat --version" - cmd /c "echo off && ..\..\gradlew.bat htmlSanityCheck --scan" + cmd /c "echo off && gradlew.bat integrationTestOnly --scan" - name: Collect state upon failure (On Unix) if: failure() && runner.os != 'Windows'