reporter
Report test results to slack and elsewhere
Usage
Current version only returns the message payload for the slack github
action (slackapi/slack-github-action@v1.26.0) to pick and send to slack.
npx @empiricalrun/reporter $MESSAGE_TYPE $CUSTOMER_NAME $RUN_ID $REPORT_TYPE
Arguments
$MESSAGE_TYPE
: can be start
(message for tests started) or end
(message for tests completed)$CUSTOMER_NAME
: name of the customer (e.g. leap-wallet) which resolves to both github and r2
- expected github:
github.com/empirical-run/$CUSTOMERNAME-tests
- expected r2 location:
reports.empirical.run/$CUSTOMERNAME/...
$RUN_ID
: github actions run id$REPORT_TYPE
: can be playwright
or other supported report sources
Development
pnpm build
cd packages/reporter
npx .