Skip to content

Commit

Permalink
Merge pull request zalando#1441 from zalando/add_coverage_profile
Browse files Browse the repository at this point in the history
Add Coverage Profile To Reactor Pom
  • Loading branch information
ChristianLohmann authored Feb 27, 2023
2 parents 825d740 + c8665a0 commit 527253d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
run: ./mvnw verify -P "${{ matrix.profile }}" -B
- name: Coverage
if: github.event_name != 'pull_request'
run: ./mvnw coveralls:report -B -D repoToken=${{ secrets.COVERALLS_TOKEN }}
run: ./mvnw -P coverage coveralls:report -B -D repoToken=${{ secrets.COVERALLS_TOKEN }}
2 changes: 2 additions & 0 deletions cve-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<cve>CVE-2021-0341</cve>
<!-- ktor requires a major upgrade. Suppressing until then -->
<cve>CVE-2021-4277</cve>
<!-- so far jackson-core and json-path don't have bugfix releases yet for that cve -->
<cve>CVE-2022-45688</cve>
</suppress>

</suppressions>
35 changes: 19 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,22 +107,25 @@
</plugins>
</build>
</profile>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 527253d

Please sign in to comment.