Skip to content

chore(deps): bump zipp from 3.18.1 to 3.19.1 in /online-resources/documentation #81

chore(deps): bump zipp from 3.18.1 to 3.19.1 in /online-resources/documentation

chore(deps): bump zipp from 3.18.1 to 3.19.1 in /online-resources/documentation #81

Workflow file for this run

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/setup-maven-action@v1.2.1
with:
java-version: 20
- 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/jacoco-report@v1.6.1
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 }}"