Skip to content

Commit 3087667

Browse files
committed
Test
1 parent d68be87 commit 3087667

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/Continuous.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
distribution: 'temurin'
2222
cache: maven
2323
- 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
2527
- run: mkdir staging && cp target/*.jar staging
2628
- uses: actions/upload-artifact@v4
2729
with:

pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,36 @@
8383
<artifactId>maven-jar-plugin</artifactId>
8484
<version>3.4.1</version>
8585
</plugin>
86+
<plugin>
87+
<groupId>org.jacoco</groupId>
88+
<artifactId>jacoco-maven-plugin</artifactId>
89+
<version>0.8.12</version>
90+
</plugin>
8691
</plugins>
8792
</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>
88117
</build>
89118
</project>

0 commit comments

Comments
 (0)