New output size: payment part only #80
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: Continuous Integration | |
on: [push, pull_request] | |
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: Validate Gradle wrapper | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Build with Gradle | |
working-directory: ./generator | |
run: ./gradlew build | |
- 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 |