reporter
Report test results to slack and elsewhere
Usage
npx @empiricalrun/reporter $WORKFLOW $MESSAGE_TYPE $CUSTOMER_NAME $RUN_ID $REPORT_TYPE
Arguments
$WORKFLOW
: can be test-run
or test-gen
$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 .