-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/sebastian/prod-2721-think-up-a-t…
…est-strategy-for-plural-up' into sebastian/prod-2721-think-up-a-test-strategy-for-plural-up
- Loading branch information
Showing
1 changed file
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,15 +77,41 @@ jobs: | |
VENOM_VAR_email: ${{ secrets.E2E_GCP_SA_EMAIL }} | ||
VENOM_VAR_token: ${{ secrets.E2E_GCP_SA_TOKEN }} | ||
run: venom run -vv --html-report --format=json --output-dir ${{ env.TESTOUT_PATH }} test/plural | ||
- name: Upload artifacts | ||
- name: Post a slack message on finish | ||
uses: slackapi/[email protected] | ||
with: | ||
webhook-type: incoming-webhook | ||
webhook: ${{ secrets.SLACK_WEBHOOK }} | ||
payload: | | ||
text: "*GitHub Action build result*: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | ||
blocks: | ||
- type: "section" | ||
text: | ||
type: "mrkdwn" | ||
text: "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
- name: Upload venom log on failure | ||
uses: slackapi/[email protected] | ||
with: | ||
method: files.uploadV2 | ||
token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
payload: | | ||
channel: ${{ secrets.SLACK_CHANNEL_ID }} | ||
initial_comment: "Google e2e test has failed. Here is the generated log file." | ||
file: "${{ env.TESTOUT_PATH }}/venom.log" | ||
filename: "venom.log" | ||
if: failure() | ||
- name: Upload venom html report on failure | ||
uses: slackapi/[email protected] | ||
with: | ||
name: gcp | ||
path: | | ||
${{ env.TESTOUT_PATH }}/venom.log | ||
${{ env.TESTOUT_PATH }}/test_results.html | ||
compression-level: 9 | ||
method: files.uploadV2 | ||
token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
payload: | | ||
channel: ${{ secrets.SLACK_CHANNEL_ID }} | ||
initial_comment: "Google e2e test has failed. Here is the generated html report." | ||
file: "${{ env.TESTOUT_PATH }}/test_results.html" | ||
filename: "test_results.html" | ||
if: failure() | ||
plural-up-azure: | ||
name: plural up / Azure | ||
runs-on: ubuntu-latest | ||
|