Skip to content

comments should not change parser state #1611

comments should not change parser state

comments should not change parser state #1611

Workflow file for this run

name: test-java
on:
push:
branches:
- main
- renovate/**
paths:
- java/**
- testdata/**
- gherkin-languages.json
- .github/**
pull_request:
branches:
- main
paths:
- java/**
- testdata/**
- gherkin-languages.json
- .github/**
workflow_call:
jobs:
test-java:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
java: ["11", "17"]
include:
# Integration tests don't work on windows, classpath must be seperated with a ';' instead.
# - os: windows-latest
# java: "17"
- os: macos-latest
java: "17"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- run: mvn install
working-directory: java
- run: mvn test
working-directory: java
- name: run acceptance tests
run: make acceptance
working-directory: java