Skip to content

Split workflows for build and test #1

Split workflows for build and test

Split workflows for build and test #1

name: HTML Sanity Check Matrix Test
on:
push:
workflow_dispatch: {}
jobs:
test-java-os-mix:

Check failure on line 7 in .github/workflows/test-java-os-mix.yml

View workflow run for this annotation

GitHub Actions / HTML Sanity Check Matrix Test

Invalid workflow file

The workflow is not valid. .github/workflows/test-java-os-mix.yml (Line: 7, Col: 3): The workflow must contain at least one job with no dependencies.
needs: gradle
strategy:
matrix:
os-version: [ ubuntu-latest, macos-14, windows-latest ]
java-version: [ 8, 11, 17, 21 ]
runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
- name: Download Artifacts
uses: actions/download-artifact@master
with:
name: maven-repo
path: build/maven-repo
- uses: actions/setup-java@v3
with:
distribution: temurin
# Always build with JDK 8 initially
java-version: ${{ matrix.java-version }}
- 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