File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 21
21
distribution : ' temurin'
22
22
cache : maven
23
23
- name : Run the Maven verify phase
24
- run : mvn clean test verify -e --update-snapshots
24
+ env :
25
+ COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
26
+ run : mvn verify jacoco:report coveralls:report -e --update-snapshots --no-transfer-progress
25
27
- run : mkdir staging && cp target/*.jar staging
26
28
- uses : actions/upload-artifact@v4
27
29
with :
Original file line number Diff line number Diff line change 83
83
<artifactId >maven-jar-plugin</artifactId >
84
84
<version >3.4.1</version >
85
85
</plugin >
86
+ <plugin >
87
+ <groupId >org.jacoco</groupId >
88
+ <artifactId >jacoco-maven-plugin</artifactId >
89
+ <version >0.8.12</version >
90
+ </plugin >
86
91
</plugins >
87
92
</pluginManagement >
93
+
94
+ <plugins >
95
+ <plugin >
96
+ <groupId >com.github.hazendaz.maven</groupId >
97
+ <artifactId >coveralls-maven-plugin</artifactId >
98
+ <version >4.5.0-M2</version >
99
+ <configuration >
100
+ <!-- suppress UnresolvedMavenProperty -->
101
+ <repoToken >${env.COVERALLS_TOKEN} </repoToken >
102
+ </configuration >
103
+ </plugin >
104
+ <plugin >
105
+ <groupId >org.jacoco</groupId >
106
+ <artifactId >jacoco-maven-plugin</artifactId >
107
+ <executions >
108
+ <execution >
109
+ <id >prepare-agent</id >
110
+ <goals >
111
+ <goal >prepare-agent</goal >
112
+ </goals >
113
+ </execution >
114
+ </executions >
115
+ </plugin >
116
+ </plugins >
88
117
</build >
89
118
</project >
You can’t perform that action at this time.
0 commit comments