Skip to content

Commit

Permalink
Improve codecov configs ins pr-builder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sadilchamishka committed Oct 23, 2024
1 parent b4bfe47 commit 9b9a9d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Adopt JDK 8
- name: Set up Adopt JDK 11
uses: actions/setup-java@v2
with:
java-version: "8"
java-version: "11"
distribution: "adopt"
- name: Cache local Maven repository
id: cache-maven-m2
Expand All @@ -39,8 +39,11 @@ jobs:
- name: Build with Maven
run: mvn clean install -U -B

- name: Generate coverage report
run: mvn test jacoco:report

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: components/**/target/site/jacoco/jacoco.xml
files: target/site/jacoco/jacoco.xml

0 comments on commit 9b9a9d1

Please sign in to comment.