Skip to content

Separate instructions for testing well formed XML files and validation against DTD #762

Separate instructions for testing well formed XML files and validation against DTD

Separate instructions for testing well formed XML files and validation against DTD #762

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: pr-verify
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: 'maven'
- name: Run Tests on Windows
if: runner.os == 'Windows'
run: ./mvnw.cmd -B '-Dlemminx.cacheInRepoDir' clean verify
- name: Run Tests on Linux
if: runner.os == 'Linux'
run: ./mvnw -B clean verify