Skip to content

Commit bd68b98

Browse files
committed
upload test reports
1 parent 479a713 commit bd68b98

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-common.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,15 @@ jobs:
216216

217217
- name: Test
218218
run: ./gradlew ${{ matrix.module }}:smokeTest
219+
220+
- name: Create unique artifact name
221+
if: failure()
222+
run: |
223+
echo "UPLOAD_ARTIFACT_NAME=smoke-test-reports-${{ matrix.module }}" | sed 's/:/-/g' >> $GITHUB_ENV
224+
225+
- name: Upload smoke test reports
226+
uses: actions/upload-artifact@v4
227+
if: failure()
228+
with:
229+
name: ${{ env.UPLOAD_ARTIFACT_NAME }}
230+
path: '**/build/reports/tests/smokeTest/**/*'

0 commit comments

Comments
 (0)