Skip to content

Commit 0ba481e

Browse files
adding the workflow for CI
1 parent 917cc0a commit 0ba481e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,17 @@ jobs:
2929
- name: Run JaCoCo Report Aggregate
3030
run: mvn -B jacoco:report-aggregate -DskipTests
3131

32+
- name: Debug - Check JaCoCo Report Location
33+
run: |
34+
echo "Checking for JaCoCo reports..."
35+
find ./target -name "*.xml" | grep jacoco || echo "No JaCoCo XML reports found"
36+
3237
- name: Upload coverage to Codecov
3338
uses: codecov/codecov-action@v3
39+
continue-on-error: true
40+
env:
41+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3442
with:
35-
token: ${{ secrets.CODECOV_TOKEN }}
3643
fail_ci_if_error: false
3744
directory: ./target/site/jacoco-aggregate/
3845
flags: unittests

0 commit comments

Comments
 (0)