Skip to content

Commit

Permalink
Update jacoco
Browse files Browse the repository at this point in the history
test jacoco
  • Loading branch information
indraniBan authored Apr 16, 2024
1 parent 92ff1f7 commit 8e6f2e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/jacoco
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: jacoco

on:
push:
branches: [ "feature/Junit"]
branches: [ "feature/version/upgrade"]
paths-ignore:
- target/**

pull_request:
branches: [ "feature/Junit" ]
branches: [ "feature/version/upgrade" ]
paths-ignore:
- target/**

Expand All @@ -29,10 +29,10 @@ jobs:
distribution: 'adopt'

- name: Build with Maven
run: mvn -B clean package
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }}

- name: Run tests with JaCoCo
run: mvn test jacoco:report
- name: Build WAR file
run: mvn -B package --file pom.xml

- name: Upload JaCoCo coverage report
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 8e6f2e1

Please sign in to comment.