diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5f01b026..2620c6ee 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -37,6 +37,9 @@ jobs: - name: Build and verify run: mvn -file org.moreunit.build/pom.xml clean install "-Dtarget.platform.classifier=eclipse-latest" --fail-at-end --batch-mode --strict-checksums --update-snapshots "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" + - name: Run PMD and CPD checks + run: mvn -file org.moreunit.build/pom.xml pmd:check pmd:cpd-check + - name: Publish Surefire Test Results for 🖨 if: ${{ always() }} uses: ScaCap/action-surefire-report@v1 diff --git a/README.md b/README.md index d7d9d171..b43ac7e1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![MoreUnit Build](https://github.com/MoreUnit/MoreUnit-Eclipse/actions/workflows/maven.yml/badge.svg)](https://github.com/MoreUnit/MoreUnit-Eclipse/actions/workflows/maven.yml) [![CodeQL](https://github.com/MoreUnit/MoreUnit-Eclipse/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/MoreUnit/MoreUnit-Eclipse/actions/workflows/codeql-analysis.yml) [![codecov](https://codecov.io/gh/MoreUnit/MoreUnit-Eclipse/branch/master/graph/badge.svg)](https://codecov.io/gh/MoreUnit/MoreUnit-Eclipse)