Skip to content

Commit

Permalink
Archive action results
Browse files Browse the repository at this point in the history
In this commit, an archive action is added to qualifying github runs
so that their results are accessible after execution.
  • Loading branch information
AntonOellerer committed Oct 4, 2021
1 parent 2a9c054 commit ab82120
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: checkMain checkTest
- name: Archive checkstyle results
uses: actions/upload-artifact@v2
if: always()
with:
name: checkstyle-results
path: build/reports/checkstyle.html
owasp:
name: owasp
runs-on: ubuntu-20.04
Expand All @@ -41,6 +47,12 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: dependencyCheckAnalyze
- name: Archive owasp check results
uses: actions/upload-artifact@v2
if: always()
with:
name: owasp-results
path: build/reports/dependency-check-report.html
sonarqube:
name: sonarqube
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -84,4 +96,10 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v1.22
with:
report_individual_runs: true
files: build/test-results/automatedTests/*.xml
files: build/test-results/automatedTests/*.xml
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
with:
name: test-results
path: build/reports/tests/automatedTests

0 comments on commit ab82120

Please sign in to comment.