Skip to content

Commit 0a3548f

Browse files
committed
test: upload firebase emulator logs in CI for troubleshooting
1 parent c1e0c49 commit 0a3548f

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/tests_e2e_android.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,15 @@ jobs:
265265
name: adb_logs_${{ matrix.api-level}}_${{ matrix.arch }}_${{ matrix.target }}_${{ matrix.iteration }}
266266
path: adb-*.txt
267267

268+
- name: Upload Firebase emulator script logs
269+
# https://github.com/actions/upload-artifact/releases
270+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
271+
continue-on-error: true
272+
if: always()
273+
with:
274+
name: emulator-scripts-logs-${{ matrix.api-level }}-${{ matrix.arch }}-${{ matrix.target }}-${{ matrix.iteration }}
275+
path: .github/workflows/scripts/*.log
276+
268277
- name: Yarn Cache Save
269278
# https://github.com/actions/cache/releases
270279
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5

.github/workflows/tests_e2e_ios.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,15 @@ jobs:
393393
name: screenrecording-${{ matrix.buildmode }}-${{ matrix.iteration }}
394394
path: screenrecording.*
395395

396+
- name: Upload Firebase emulator script logs
397+
# https://github.com/actions/upload-artifact/releases
398+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
399+
continue-on-error: true
400+
if: always()
401+
with:
402+
name: emulator-scripts-logs-${{ matrix.buildmode }}-${{ matrix.iteration }}
403+
path: .github/workflows/scripts/*.log
404+
396405
# https://github.com/codecov/codecov-action/releases
397406
- uses: codecov/codecov-action@3f20e214133d0983f9a10f3d63b0faf9241a3daa # v6.0.0
398407
if: contains(matrix.buildmode, 'debug')

.github/workflows/tests_e2e_other.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,15 @@ jobs:
312312
name: syslog-${{ matrix.iteration }}
313313
path: syslog.log
314314

315+
- name: Upload Firebase emulator script logs
316+
# https://github.com/actions/upload-artifact/releases
317+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
318+
continue-on-error: true
319+
if: always()
320+
with:
321+
name: emulator-scripts-logs-${{ matrix.iteration }}
322+
path: .github/workflows/scripts/*.log
323+
315324
- name: Yarn Cache Save
316325
# https://github.com/actions/cache/releases
317326
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5

0 commit comments

Comments
 (0)