Skip to content

ci: Improve action #250

ci: Improve action

ci: Improve action #250

Workflow file for this run

name: Tests
on: [push]
jobs:
build-and-test:
strategy:

Check failure on line 7 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
fail-fast: false
matrix:
java: [ '17', '21' ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
experimental: [ false ]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.Java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: '3.9.7'
- name: Run Maven tests with a virtual display
run: |
xvfb-run mvn -V clean verify