Skip to content

Build

Build #128

Workflow file for this run

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()