Add support for collecting coverage data and exporting LCOV reports #876
Workflow file for this run
This file contains hidden or 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: Format Check | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| spotless: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Run Spotless Check | |
| working-directory: ./Src/java | |
| run: ./gradlew spotlessCheck | |
| - uses: mshick/add-pr-comment@v2 | |
| if: always() | |
| with: | |
| message-success: | | |
| Formatting check succeeded! | |
| message-failure: | | |
| **This Pull Request has failed the formatting check** | |
| Please run `gradlew spotlessApply` to fix the formatting issues. |