Skip to content

Commit

Permalink
GitHub Actions: fixed tests report names for Integration Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz committed May 19, 2023
1 parent 85815ef commit 2088dc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reusable-integrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,23 @@ jobs:
[ -z "$TEST_NAME" ] && TESTS="" || TESTS="--tests $TEST_NAME"
./gradlew check integrationTest \
-PtestGradleVersion="${{ inputs.gradleVersion }}" \
-PtestGradleVersion="${{ matrix.gradleVersion }}" \
${{ runner.os == 'Windows' && '-PtestGradleUserHome="C:\\testGradleHome"' || '' }} \
--console=plain
- name: Test Report
uses: dorny/test-reporter@v1
if: ${{ always() }}
with:
name: "Unit Tests Report: Gradle ${{ inputs.gradleVersion }} @ ${{ inputs.os }}"
name: "Unit Tests Report: Gradle ${{ matrix.gradleVersion }} @ ${{ matrix.os }}"
path: "**/build/test-results/*/TEST-*.xml"
reporter: java-junit

- name: Collect Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: test-results-${{ inputs.gradleVersion }}-${{ runner.os }}
name: test-results-${{ matrix.gradleVersion }}-${{ matrix.os }}
path: |
${{ github.workspace }}/build/reports/tests
${{ github.workspace }}/build/reports/configuration-cache

0 comments on commit 2088dc7

Please sign in to comment.