Skip to content

Mark unstructured address as deprecated #87

Mark unstructured address as deprecated

Mark unstructured address as deprecated #87

name: Continuous Integration
on: [push, pull_request]
env:
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Configure unit test GPG key
run: |
echo -n "$UNIT_TEST_SIGNING_KEY" | base64 --decode | gpg --import
env:
UNIT_TEST_SIGNING_KEY: ${{ vars.UNIT_TEST_SIGNING_KEY }}
shell: bash
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Build with Gradle
working-directory: ./generator
run: ./gradlew build publishToMavenLocal
- name: Upload received files from failing tests
uses: actions/upload-artifact@v4
if: failure()
with:
name: Received-${{ runner.os }}
path: "generator/actual_*"
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: TestResults-${{ runner.os }}
path: generator/build/reports/tests/test
- name: SonarQube
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./generator
run: ./gradlew jacocoTestReport sonar -Dsonar.token=$SONAR_TOKEN
- name: Example "maven_example"
run: |
mvn $MAVEN_ARGS package
mvn $MAVEN_ARGS exec:exec
working-directory: ./examples/maven_example
- name: Example "gradle_example"
run: ./build_and_run.sh
working-directory: ./examples/gradle_example
- name: Example "kotlin_example"
run: ./build_and_run.sh
working-directory: ./examples/kotlin_example
- name: Example "append_to_pdf"
run: ./build_and_run.sh
working-directory: ./examples/append_to_pdf
- name: Example "jasper_reports_rendering"
run: |
mvn $MAVEN_ARGS package
mvn $MAVEN_ARGS exec:exec
working-directory: ./examples/jasper_reports_rendering