Skip to content

Commit

Permalink
Upload test results in the end of every build
Browse files Browse the repository at this point in the history
this allows downloading test report from GitHub actions in case of test failure.
  • Loading branch information
asolntsev committed Aug 23, 2024
1 parent 12453ad commit b2ebdc1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,12 @@ jobs:
- name: 'Test with downstream project'
if: ${{ matrix.java-version == env.jdk_for_downstream && matrix.runs-on == env.os_for_downstream}}
run: cd datafaker_gen && ./mvnw clean install -Ddatafaker.version=${{ steps.version-extract.outputs.release_version }} -DskipBigQueryIntegrationTests=true
- name: 'Upload test results'
uses: actions/upload-artifact@v4
if: always()
with:
name: test-report-${{matrix.runs-on}}-${{matrix.java-version}}
retention-days: 14
path: |
**/target/site
**/target/surefire-reports

0 comments on commit b2ebdc1

Please sign in to comment.