chore(deps): bump org.springframework.boot:spring-boot-starter-parent from 3.4.1 to 3.4.2 in /backend #291
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 | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
uses: actions/checkout@v2 | |
- name: Setup Maven Action | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
uses: s4u/[email protected] | |
with: | |
java-version: 21 | |
- name: Run backend tests | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
run: mvn clean install | |
working-directory: ./backend | |
- name: Run Coverage | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
run: mvn jacoco:report | |
working-directory: ./backend | |
- name: JaCoCo Report to PR | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
uses: Madrapps/[email protected] | |
with: | |
paths: ${{ github.workspace }}/backend/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 | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
run: | | |
echo "Total coverage ${{ steps.jacoco.outputs.coverage-overall }}" | |
echo "Changed Files coverage ${{ steps.jacoco.outputs.coverage-changed-files }}" |