Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
eNeRGy164 committed Sep 3, 2024
1 parent d68be87 commit 6638f31
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/Continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Run the Maven verify phase
run: mvn clean test verify -e --update-snapshots
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: mvn verify jacoco:report coveralls:report -e --update-snapshots --no-transfer-progress
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v4
with:
Expand Down
29 changes: 29 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,36 @@
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.5.0-M2</version>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<repoToken>${env.COVERALLS_TOKEN}</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 6638f31

Please sign in to comment.