Skip to content

Commit

Permalink
test: update GHA flakybot upload action (#3373)
Browse files Browse the repository at this point in the history
* test: run aiplatform tests in parallel

* test: update GHA flakybot upload action

* revert aiplatform change

---------

Co-authored-by: Patti Shin <pattishin@users.noreply.github.com>
  • Loading branch information
kweinmeister and pattishin authored Aug 2, 2023
1 parent ce22a9e commit 1f0704f
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ai-platform-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: ai-platform/snippets/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/automl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: automl/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dialogflow-cx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: dialogflow-cx/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/functions-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: functions/slack/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/iam-deny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: iam/deny/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security-center-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: security-center/snippets/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/storagetransfer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: storagetransfer/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/utils/ci-secrets.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: {{ path }}/${% raw %}{{ env.MOCHA_REPORTER_OUTPUT }}{% endraw %}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/vision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ jobs:
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: vision/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down

0 comments on commit 1f0704f

Please sign in to comment.