Skip to content

Commit bfc5d8a

Browse files
authored
Merge pull request #3709 from 1c-syntax/theshadowco-patch-1
Добавлено сохранения отчета о тестировании при ошибке
2 parents 18c093f + 7834b0c commit bfc5d8a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ jobs:
5353
with:
5454
name: Test Results (Java ${{ matrix.java_version }}.${{ matrix.os }})
5555
path: "**/test-results/test/**/*.xml"
56+
- name: Publish Test report
57+
if: failure()
58+
uses: actions/upload-artifact@v5
59+
with:
60+
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }}
61+
path: build/reports/tests/test
5662
publish-test-results:
5763
needs: [gatekeeper, check-pr-exists, build]
5864
runs-on: ubuntu-latest
@@ -71,3 +77,4 @@ jobs:
7177
uses: EnricoMi/publish-unit-test-result-action@v2
7278
with:
7379
junit_files: "artifacts/**/*.xml"
80+

0 commit comments

Comments
 (0)