Skip to content

LauroSilveira has started workflow Build And Test #123

LauroSilveira has started workflow Build And Test

LauroSilveira has started workflow Build And Test #123

Workflow file for this run

name: CI - Build And Test
run-name: ${{ github.actor }} has started workflow Build And Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
actions: read
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build and test with Maven
run: mvn -B clean install --file pom.xml
generate-report:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run mvn Clean Install phase
run: mvn -B clean install --file pom.xml
- name: Test Report
uses: dorny/[email protected]
if: success() || failure()
with:
name: Test Report Generated
reporter: java-junit
path: target/surefire-reports/*.xml