Skip to content

Commit

Permalink
feat: add smoke test failure reporting job (DX-2054) (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
effervescentia authored Jul 19, 2024
1 parent 5d3541d commit 22c4007
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/jobs/smoke/report_smoke_failures.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
executor: node-executor-node-20

parameters:
e2e-env-name:
type: string
default: ""
branch-or-commit:
type: string
default: "master"
description: "the branch or commit of the automated-testing repo to reference for source code"
channel:
type: string
default: "test_failures"
description: "the channel where test failures reports will be posted"
mention:
type: string
default: "<!subteam^S07CKAVJPLG>"
steps:
- authenticate_npm
- run:
name: Report Test Failures
command: |
npx --package=@voiceflow/test-cli -- \
testcli report \
--environment << parameters.e2e-env-name >> \
--smokeRef << parameters.branch-or-commit >> \
--channel << parameters.channel >> \
--mention '<< parameters.mention >>'

0 comments on commit 22c4007

Please sign in to comment.