Build #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
schedule: | |
- cron: '0 1 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 8 | |
- uses: actions/checkout@v4 | |
- uses: testspace-com/setup-testspace@v1 | |
with: | |
domain: samples | |
- name: Build | |
run: | | |
mvn clean compile | |
mvn pmd:pmd | |
- name: Test | |
run: | | |
mvn cobertura:cobertura -Dcobertura.report.format=xml | |
- name: Push | |
run: | | |
testspace target/pmd.xml [Tests]target/surefire-reports/TEST*.xml target/site/cobertura/coverage.xml | |
if: always() |