Skip to content

Commit

Permalink
feature: bring back the build workflow, disable code coverage due to …
Browse files Browse the repository at this point in the history
…master being late with the changes.
  • Loading branch information
lfdesousa committed May 30, 2024
1 parent 5dc47a5 commit 33e39d8
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- 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/[email protected]
#- 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
Expand Down

0 comments on commit 33e39d8

Please sign in to comment.