Skip to content

Commit

Permalink
Use shell or bat script for tests depending on OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Feb 2, 2024
1 parent 55aceab commit f84b91d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
needs: gradle
strategy:
matrix:
os-version: [ ubuntu-latest, macos-latest, windows-latest ]
os-version: [ ubuntu-latest, macos-14, windows-latest ]
java-version: [ 11, 17, 21 ]
runs-on: ${{ matrix.os-version }}
steps:
Expand All @@ -62,7 +62,15 @@ jobs:
distribution: temurin
# Always build with JDK 8 initially
java-version: ${{ matrix.java-version }}
- name: Execute integration test
- name: Execute integration test (on Unixes)
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
run: |
uname -a
./gradlew --version
./gradlew integrationTestOnly --scan
- name: Execute integration test (on Windows)
if: ${{ runner.os == 'Windows' }}
run: |
uname -a
./gradlew --version
./gradlew integrationTestOnly --scan

0 comments on commit f84b91d

Please sign in to comment.