Skip to content

test: fix error

test: fix error #12

Workflow file for this run

name: Build
on:
push:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Unit Test with Gradle
run: ./gradlew :generator:test --info
- name: Integration Test with gradle
run: ./gradlew :integration-test:test --info
continue-on-error: true
- name: Merge Jacoco
run: ./gradlew jacocoTestReport
- name: Generate JaCoCo Badge
uses: cicirello/jacoco-badge-generator@v2
with:
jacoco-csv-file: build/reports/jacoco/test/jacocoTestReport.csv
generate-coverage-badge: false
generate-coverage-endpoint: true
- name: Upload
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: ".github/badges/**"
commit_message: "ci: update badge"