From 33e39d8fdc2b2ba0ba995fdee123ea2cb10f7596 Mon Sep 17 00:00:00 2001 From: Luis Filipe de Sousa Date: Thu, 30 May 2024 07:33:14 +0200 Subject: [PATCH] feature: bring back the build workflow, disable code coverage due to master being late with the changes. --- .github/workflows/maven.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 6357c005..ebaed2c3 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,23 +29,24 @@ jobs: cache: maven - name: Build with Maven run: mvn -B package --file pom.xml + + # Below we need to temporarily disable + #- name: Generate the Jacoco report + # run: mvn jacoco:report - - name: Generate the Jacoco report - run: mvn jacoco:report - - - name: Generate JaCoCo Badge - id: jacoco - uses: cicirello/jacoco-badge-generator@v2.11.0 - - name: Log coverage percentage - run: | - echo "coverage = ${{ steps.jacoco.outputs.coverage }}" - echo "branch coverage = ${{ steps.jacoco.outputs.branches }}" + #- name: Generate JaCoCo Badge + # id: jacoco + # uses: cicirello/jacoco-badge-generator@v2.11.0 + #- name: Log coverage percentage + # run: | + # echo "coverage = ${{ steps.jacoco.outputs.coverage }}" + # echo "branch coverage = ${{ steps.jacoco.outputs.branches }}" - - name: Upload JaCoCo coverage report - uses: actions/upload-artifact@v2 - with: - name: jacoco-report - path: target/site/jacoco/ + #- name: Upload JaCoCo coverage report + # uses: actions/upload-artifact@v4 + # with: + # name: jacoco-report + # path: target/site/jacoco/ # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph