Fix JSON Response for String Endpoint and Improve Translations #12
Workflow file for this run
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: Measure coverage | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
calculate_coverage: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Maven Action | |
uses: s4u/[email protected] | |
with: | |
java-version: 20 | |
- name: Run Coverage | |
run: mvn jacoco:report | |
working-directory: ./backend | |
- name: Upload Report | |
uses: 'actions/upload-artifact@v4' | |
with: | |
name: report.xml | |
path: ${{ github.workspace }}/target/site/jacoco/jacoco.xml | |
- name: JaCoCo Report to PR | |
uses: Madrapps/[email protected] | |
with: | |
paths: ${{ github.workspace }}/target/site/jacoco/jacoco.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
min-coverage-overall: 40 | |
min-coverage-changed-files: 60 | |
title: 📝 Coverage Report For Server Service | |
pass-emoji: 🟢 | |
fail-emoji: 🔴 | |
- name: Get the Coverage info | |
run: | | |
echo "Total coverage ${{ steps.jacoco.outputs.coverage-overall }}" | |
echo "Changed Files coverage ${{ steps.jacoco.outputs.coverage-changed-files }}" |