Skip to content

Commit 1f0704f

Browse files
test: update GHA flakybot upload action (#3373)
* test: run aiplatform tests in parallel * test: update GHA flakybot upload action * revert aiplatform change --------- Co-authored-by: Patti Shin <[email protected]>
1 parent ce22a9e commit 1f0704f

10 files changed

+22
-0
lines changed

.github/workflows/ai-platform-snippets.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
- name: upload test results for FlakyBot workflow
9393
if: github.event.action == 'schedule' && always()
9494
uses: actions/upload-artifact@v3
95+
env:
96+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9597
with:
9698
name: test-results
9799
path: ai-platform/snippets/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/automl.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ jobs:
9090
- name: upload test results for FlakyBot workflow
9191
if: github.event.action == 'schedule' && always()
9292
uses: actions/upload-artifact@v3
93+
env:
94+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9395
with:
9496
name: test-results
9597
path: automl/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/dialogflow-cx.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ jobs:
9696
- name: upload test results for FlakyBot workflow
9797
if: github.event.action == 'schedule' && always()
9898
uses: actions/upload-artifact@v3
99+
env:
100+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
99101
with:
100102
name: test-results
101103
path: dialogflow-cx/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/functions-slack.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
- name: upload test results for FlakyBot workflow
9393
if: github.event.action == 'schedule' && always()
9494
uses: actions/upload-artifact@v3
95+
env:
96+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9597
with:
9698
name: test-results
9799
path: functions/slack/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/iam-deny.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ jobs:
8383
- name: upload test results for FlakyBot workflow
8484
if: github.event.action == 'schedule' && always()
8585
uses: actions/upload-artifact@v3
86+
env:
87+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8688
with:
8789
name: test-results
8890
path: iam/deny/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/security-center-snippets.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585
- name: upload test results for FlakyBot workflow
8686
if: github.event.action == 'schedule' && always()
8787
uses: actions/upload-artifact@v3
88+
env:
89+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8890
with:
8991
name: test-results
9092
path: security-center/snippets/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/storagetransfer.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595
- name: upload test results for FlakyBot workflow
9696
if: github.event.action == 'schedule' && always()
9797
uses: actions/upload-artifact@v3
98+
env:
99+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
98100
with:
99101
name: test-results
100102
path: storagetransfer/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
- name: upload test results for FlakyBot workflow
7575
if: github.event.action == 'schedule' && always()
7676
uses: actions/upload-artifact@v3
77+
env:
78+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
79+
env:
80+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
7781
with:
7882
name: test-results
7983
path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/utils/ci-secrets.yaml.njk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
- name: upload test results for FlakyBot workflow
9595
if: github.event.action == 'schedule' && always()
9696
uses: actions/upload-artifact@v3
97+
env:
98+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9799
with:
98100
name: test-results
99101
path: {{ path }}/${% raw %}{{ env.MOCHA_REPORTER_OUTPUT }}{% endraw %}

.github/workflows/vision.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ jobs:
9090
- name: upload test results for FlakyBot workflow
9191
if: github.event.action == 'schedule' && always()
9292
uses: actions/upload-artifact@v3
93+
env:
94+
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9395
with:
9496
name: test-results
9597
path: vision/${{ env.MOCHA_REPORTER_OUTPUT }}

0 commit comments

Comments
 (0)