Skip to content

Commit

Permalink
Github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
renatocjn committed Jul 17, 2024
1 parent 2456d07 commit 941be6d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/mvn-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
run-name: "Run maven tests"
on: pull_request
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- run: mvn --batch-mode clean test
name: Run mvn test
- uses: test-summary/action@v2
name: Test summary
with:
paths: "target/surefire-reports/TEST-*.xml"
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,13 @@
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>3.3.1</version>
</plugin>
</plugins>
</reporting>
</project>

0 comments on commit 941be6d

Please sign in to comment.