woocommerce/.github/workflows
rodelgc f8ea46b086
Implement `maxFailures` and warning messages (#33977)
* Add `maxFailures`

* Intentionally fail a test for testing the failure limit

* Add changelog

* Add step to get total number of E2E tests

* Increase max failures

* Add warnings to the test summary.
Also moved some stuff around.

* Update changelog

* Use env var to set `maxFailures` value instead of hard-coding it

* Make sure env var is converted to a number

* Allow maxFailures even if not on CI

* Show incomplete e2e run warning only when E2E_MAX_FAILURES is set

* Safely escape new lines in comment body

* Fix returned stringified summary

* Remove unnecessary newline escaping

* Fix incorrect reference to E2E_MAX_FAILURES

* Minor formatting change

* Shorten warning messages

* Minor change in warning message

* Intentionally fail only 1 test

* Remove intentional failures

* Removed duplicate env declaration

* Correct pnpm command and playwright config file location

* Simplify reference to CI variable

* Remove unnecessary if condition

* Remove references to the old E2E_PLAYWRIGHT flag

* Remove references to the old E2E_PPTR_SUMMARY_PATH variable

* Test for 2 warnings

* Revert to correct locator

* Test for only 1 warning

* Pass all tests
2022-10-05 10:44:20 -07:00
..
scripts Implement `maxFailures` and warning messages (#33977) 2022-10-05 10:44:20 -07:00
build-release-zip-file.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
build-release.yml Remove failing jobs (#34902) 2022-10-04 05:36:58 -07:00
cherry-pick.yml Skip changelog deletion if none is provided closes #34604 (#34784) 2022-09-23 05:48:15 -07:00
ci.yml Upgrade to pnpm 7 (#34661) 2022-09-16 09:21:42 +12:00
community-label.yml Add workflow to label community PRs and Issues. (#34309) 2022-08-23 14:01:12 -05:00
cot-build-and-e2e-tests-daily.yml Implement `maxFailures` and warning messages (#33977) 2022-10-05 10:44:20 -07:00
cot-pr-build-and-e2e-tests.yml Implement `maxFailures` and warning messages (#33977) 2022-10-05 10:44:20 -07:00
mirrors.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
nightly-builds.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
package-release.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
post-release.yml Add changelog.txt update workflow (#34554) 2022-09-07 12:30:10 -07:00
pr-build-and-e2e-tests.yml Implement `maxFailures` and warning messages (#33977) 2022-10-05 10:44:20 -07:00
pr-code-coverage.yml Upgrade to pnpm 7 (#34661) 2022-09-16 09:21:42 +12:00
pr-code-sniff.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
pr-highlight-changes.yml Update the pnpm constraint to 7.12.2+ now auto-install is fixed. (#34872) 2022-10-03 10:52:42 +13:00
pr-lint-monorepo.yml Update the PHP version for changelogger workflow (#34887) 2022-09-29 14:20:08 -05:00
pr-lint-test-js.yml Upgrade to pnpm 7 (#34661) 2022-09-16 09:21:42 +12:00
pr-project-label.yml Freeze Ubuntu release to 20.04 for best practice and consistency 2022-04-26 18:28:56 -07:00
pr-smoke-test.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
pr-unit-tests.yml Upgrade to pnpm 7 (#34661) 2022-09-16 09:21:42 +12:00
prepare-package-release.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
prime-cache.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
pull-request-post-merge-processing.yml Remove the check for plugins: woocommerce label (#34820) 2022-09-23 12:11:50 -07:00
release-changelog.yml Update php version used by changelog workflow (#34702) 2022-09-15 14:33:39 -05:00
release-code-freeze.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
smoke-test-daily-site-check.yml Freeze Ubuntu release to 20.04 for best practice and consistency 2022-04-26 18:28:56 -07:00
smoke-test-daily.yml Upgrade to pnpm 7 (#34661) 2022-09-16 09:21:42 +12:00
smoke-test-release.yml Optimize Workflow Caching (#34607) 2022-09-13 13:55:03 +12:00
stalebot.yml Freeze Ubuntu release to 20.04 for best practice and consistency 2022-04-26 18:28:56 -07:00
syncpack.yml Fix a typo in the syncpack action (#34668) 2022-09-19 12:58:24 +12:00
triage-label.yml Freeze Ubuntu release to 20.04 for best practice and consistency 2022-04-26 18:28:56 -07:00
triage-replies.yml Replace expired token with generic GH token (#34901) 2022-09-30 07:48:38 -07:00
update-feedback-labels.yml Freeze Ubuntu release to 20.04 for best practice and consistency 2022-04-26 18:28:56 -07:00