Skip to content

Commit

Permalink
#318 Let Gradle drive the integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Aug 21, 2024
1 parent 9bc8595 commit cfb4498
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test-java-os-mix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit cfb4498

Please sign in to comment.