Python: Handle empty lines in Description AST node and add test cases when there is only a comment between the scenario line and the first step #1788
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |