Skip to content

Merge pull request #17 from Relewise/feature/nullability-on-simple-pr… #144

Merge pull request #17 from Relewise/feature/nullability-on-simple-pr…

Merge pull request #17 from Relewise/feature/nullability-on-simple-pr… #144

Workflow file for this run

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