Skip to content

Commit

Permalink
Github Actions CI, add quality reports to snapshot and release (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmitch authored Dec 10, 2020
1 parent 4af43f1 commit c6f9f1d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,24 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/build/test-results/test/TEST-*.xml'
check_name: Test Report
- name: Publish Checkstyle Report
if: ${{ always() }}
uses: jwgmeligmeyling/checkstyle-github-action@v1.2
with:
name: Checkstyle Report
path: '**/build/reports/checkstyle/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish PMD Report
if: ${{ always() }}
uses: jwgmeligmeyling/pmd-github-action@v1.2
with:
name: PMD Report
path: '**/build/reports/pmd/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish SpotBugs Report
if: ${{ always() }}
uses: jwgmeligmeyling/spotbugs-github-action@v1.2
with:
name: SpotBugs Report
path: '**/build/reports/spotbugs/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/ci-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,24 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/build/test-results/test/TEST-*.xml'
check_name: Test Report
- name: Publish Checkstyle Report
if: ${{ always() }}
uses: jwgmeligmeyling/checkstyle-github-action@v1.2
with:
name: Checkstyle Report
path: '**/build/reports/checkstyle/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish PMD Report
if: ${{ always() }}
uses: jwgmeligmeyling/pmd-github-action@v1.2
with:
name: PMD Report
path: '**/build/reports/pmd/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish SpotBugs Report
if: ${{ always() }}
uses: jwgmeligmeyling/spotbugs-github-action@v1.2
with:
name: SpotBugs Report
path: '**/build/reports/spotbugs/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c6f9f1d

Please sign in to comment.