Skip to content

Commit 7d1a3cf

Browse files
committed
code coverage report using Maven Quarkus JaCoco
1 parent 9600879 commit 7d1a3cf

182 files changed

Lines changed: 52 additions & 33537 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/maven.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
ports:
2121
- 5432:5432
2222
options: >-
23-
--health-cmd="pg_isready -U test"
23+
--health-cmd="pg_isready -U quarkus_test"
2424
--health-interval=10s
2525
--health-timeout=5s
2626
--health-retries=5
@@ -37,10 +37,16 @@ jobs:
3737

3838
- name: Wait for PostgreSQL
3939
run: |
40-
until pg_isready -h localhost -p 5432 -U test; do
40+
until pg_isready -h localhost -p 5432 -U quarkus_test; do
4141
echo "Waiting for postgres..."
4242
sleep 2
4343
done
4444
45-
- name: Build with Maven
46-
run: mvn -B package
45+
- name: Build & run tests with Jacoco
46+
run: mvn -B clean package verify
47+
48+
- name: Upload Jacoco Report
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: jacoco-report
52+
path: target/jacoco-report

coverageReport/css/coverage.css

Lines changed: 0 additions & 154 deletions
This file was deleted.

coverageReport/css/idea.min.css

Lines changed: 0 additions & 118 deletions
This file was deleted.

coverageReport/img/arrowDown.gif

-89 Bytes
Binary file not shown.

coverageReport/img/arrowUp.gif

-91 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)