Update dependency org.wiremock:wiremock-standalone to v3.12.0 #111
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: Codacy Coverage Reporter | |
on: | |
push: # Trigger on push | |
jobs: | |
codacy-coverage-reporter: | |
runs-on: ubuntu-latest | |
name: Codacy Coverage Reporter | |
steps: | |
# Step 1: Checkout code | |
- uses: actions/checkout@v2 | |
# Step 2: Set up JDK 21 (required to run Gradle) | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
# Step 3: Run Gradle to generate coverage reports | |
- name: Run tests and generate JaCoCo coverage report | |
run: ./gradlew build jacocoTestReport --info | |
# Step 4: Upload coverage reports to Codacy | |
- name: Upload coverage reports to Codacy | |
uses: codacy/[email protected] | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: app/build/reports/jacoco/test/jacocoTestReport.xml,api/build/reports/jacoco/test/jacocoTestReport.xml |