diff --git a/.github/workflows/ai-platform-snippets.yaml b/.github/workflows/ai-platform-snippets.yaml index 1d59d3dc95..e6e0705de4 100644 --- a/.github/workflows/ai-platform-snippets.yaml +++ b/.github/workflows/ai-platform-snippets.yaml @@ -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 }} diff --git a/.github/workflows/automl.yaml b/.github/workflows/automl.yaml index fdd41c982b..37ecc20f3d 100644 --- a/.github/workflows/automl.yaml +++ b/.github/workflows/automl.yaml @@ -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 }} diff --git a/.github/workflows/dialogflow-cx.yaml b/.github/workflows/dialogflow-cx.yaml index b6d9291a1b..cb24a7110e 100644 --- a/.github/workflows/dialogflow-cx.yaml +++ b/.github/workflows/dialogflow-cx.yaml @@ -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 }} diff --git a/.github/workflows/functions-slack.yaml b/.github/workflows/functions-slack.yaml index a03bcc8900..6f481dfc0e 100644 --- a/.github/workflows/functions-slack.yaml +++ b/.github/workflows/functions-slack.yaml @@ -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 }} diff --git a/.github/workflows/iam-deny.yaml b/.github/workflows/iam-deny.yaml index c87c130fed..343502277d 100644 --- a/.github/workflows/iam-deny.yaml +++ b/.github/workflows/iam-deny.yaml @@ -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 }} diff --git a/.github/workflows/security-center-snippets.yaml b/.github/workflows/security-center-snippets.yaml index 225a26796c..055d71e46f 100644 --- a/.github/workflows/security-center-snippets.yaml +++ b/.github/workflows/security-center-snippets.yaml @@ -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 }} diff --git a/.github/workflows/storagetransfer.yaml b/.github/workflows/storagetransfer.yaml index 2cf783c16e..0c99cece2a 100644 --- a/.github/workflows/storagetransfer.yaml +++ b/.github/workflows/storagetransfer.yaml @@ -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 }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9d32fac79a..bd08de1fa1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 }} diff --git a/.github/workflows/utils/ci-secrets.yaml.njk b/.github/workflows/utils/ci-secrets.yaml.njk index 7f0df36e78..0b3c8c3c93 100644 --- a/.github/workflows/utils/ci-secrets.yaml.njk +++ b/.github/workflows/utils/ci-secrets.yaml.njk @@ -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 %} diff --git a/.github/workflows/vision.yaml b/.github/workflows/vision.yaml index 36fe2496e7..fd3bdb196d 100644 --- a/.github/workflows/vision.yaml +++ b/.github/workflows/vision.yaml @@ -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 }}