woocommerce/tools/monorepo-utils/src/slack-test-report
Adrian Moldovan 97e7f86a15
Add the slack-test-report util (#47805)
* Add the slack-test-report util

* Error if the required GitHub context variables are not set

* Error if the required SLACK_CHANNEL env var is not set

* Use a more generic message to be able to report on jobs that are not tests, like build

* Add the alert-on-failure job in ci

* Run for pull_request to test the job

* Setup monorepo first

* Force a linting error

* Better logging

* Use inputs.trigger as report name if set

* Force an e2e test failure

* Set the commit message in the notification

* Use INPUT_TRIGGER for all notifications

* Revert test changes
2024-05-24 13:18:54 -07:00
..
lib Add the slack-test-report util (#47805) 2024-05-24 13:18:54 -07:00
README.md Add the slack-test-report util (#47805) 2024-05-24 13:18:54 -07:00
index.ts Add the slack-test-report util (#47805) 2024-05-24 13:18:54 -07:00

README.md

Slack Test Report

Send a test report to Slack.

To see available commands run pnpm utils slack-test-report --help from the project root.