Skip to content

Commit

Permalink
test actions x12
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyre-S committed Aug 9, 2024
1 parent 370258a commit 887d728
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,19 @@ jobs:
java-version: '21'
distribution: 'temurin'
cache: sbt
- name: "Test Project"
- name: "Run unit tests"
id: do-unit-test
run: sbt test
- name: "Upload test reports as artifact"
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: 'unit-test-report'
path: ./*/target/test-reports/*
- name: "Upload test report to workflow report"
if: success() || failure()
uses: dorny/test-reporter@v1
with:
name: 'unit-test-report'
path: ./*/target/test-reports/*.xml
reporter: 'java-junit'

0 comments on commit 887d728

Please sign in to comment.