Update maven.yml
adding surefire reports
@@ -22,5 +22,8 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: maven
- - name: Build with Maven
- run: mvn -B install --file pom.xml
+ - name: Build and Run Tests
+ run: mvn test --batch-mode --fail-at-end
+ - name: Publish Test Report
+ if: ${{ always() }}
+ uses: scacap/action-surefire-report@v1
