Changed to not generate extra semicolon. #125
Workflow file for this run
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Generate Java classes | |
run: ./generate.sh | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build | |
run: mvn --batch-mode -DskipTests package --file src/pom.xml | |
- name: Load version into generated .properties file. | |
run: mvn resources:resources --file src/pom.xml | |
- name: Test | |
run: mvn --batch-mode -Dmaven.test.failure.ignore=true test --file src/pom.xml | |
env: | |
DATASET_ID: ${{secrets.INTEGRATIONTESTS_DATASET_ID}} | |
API_KEY: ${{secrets.INTEGRATIONTESTS_API_KEY}} | |
- name: Report | |
uses: dorny/test-reporter@v1 | |
if: always() | |
with: | |
name: Maven Tests | |
path: src/target/surefire-reports/*.xml | |
reporter: java-junit | |
fail-on-error: true |