Commit Graph

1035 Commits

Author SHA1 Message Date
Jonathan Lane 87ac3d2c85
Add stalebot for flaky e2e test reporter (#46585)
* Add flaky test reporter for flaky e2e test reporter

* Add to stalebot workflow instead

* Update stale action to 9 for node 20

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-17 11:03:12 -03:00
Ron Rennick 9cd793abbc
revert change to community assignment workflow (#46681) 2024-04-17 14:07:50 +01:00
Jonathan Lane 9888ee7f4b
Updated deprecated gh-script action to node 20 variant (#46673)
* Updated deprecated gh-script action to node 20 variant

* Minor change in e2e test to trigger CI

* Revert e2e test change

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-17 12:31:16 +01:00
Adrian Moldovan bed3124b8d
[testing workflows] Fix the plugins setup for daily e2e runs (#46511)
* Move daily site check workflow to deprecated

* Add install-plugin script

* Install plugins script

* Fix the script path, it was moved.

* Set env on job level

* Update working-directory

* Add changelog

* Use the right WC_SUBSCRIPTIONS_REPO variable

* Add a test channel id

* Update smoke-test-daily.yml

* Remove WC Subscriptions

* Update smoke-test-daily.yml

* Switch back the channel ID and remove pull_request trigger
2024-04-13 10:12:48 -07:00
Ron Rennick 4fa2e3822c
Update the monorepo to node v20 (#45148)
* test bumping node to v18

* remove community contributor condition from review assignment

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* bump node to v20

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* add blocks eslint-plugin-woocommerce to project workspace

* add e2e-environment as a peer to e2e-utils

* restore version on @woocommerce/api

* update lock file

* move e2e-environment to devDependencies

* add undefined location check to admin js test

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 13:49:55 -03:00
Adrian Moldovan 1fee0439d3
[testing workflows] Move metrics job to ci.yml (#46471)
* Move deprecated workflows to deprecated folder

* Configure new test job for metrics

* Add changelog

* Update start command

* Update start command

* Archive metrics results

* Fix script path

* Fix name in archive results condition

* Add the actual run command for pull_request event

* Run with pnpm --filter

* Test run for push event

* Revert test conditions

* Add WP_ARTIFACTS_PATH env variable

* Update path to readme.txt

* Revert github event conditions

* Add CODEVITALS_PROJECT_TOKEN env

* Set WP_ARTIFACTS_PATH on job level

* Add blocks templates in the changes list
2024-04-12 11:46:01 -03:00
Job 28e78fd655
Default to docs and forums (#46520)
* Update triage-replies.yml

we want to default towards docs and forums

* Update 1-bug-report.yml
2024-04-12 09:24:35 +00:00
Alex Florisca 485bc76587
Update CONTRIBUTING.md (#46425)
Removed the paragraph saying WooCommerce Blocks lives in a different repository
2024-04-10 16:11:13 +01:00
Adrian Moldovan 9df545046a
[test reporting] Include list of failed tests in Slack notifications (#46360) 2024-04-10 10:10:08 +03:00
Leif Singer 8ee74ede0e
Update Woo.com references to WooCommerce.com (#46259)
* replace capitalized Woo.com with WooCommerce.com

* replace http URLs

* replace https URLs

* replace developer.woo.com

* add missing version in `@since` tag

* unslash the HTTP_REFERER

* WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

* add changelog file

* add more changelog files

* address linter errors

* address more linter errors

* fix test

* more linter errors
2024-04-09 09:50:15 +01:00
Ron Rennick e9dff60e95
update labels in non-hpos daily workflow (#46246)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-05 11:04:47 +03:00
Jonathan Lane 4bce1da492
Update workflow to close support issues as "won't fix/not planned" (#46202)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-04 09:31:53 +03:00
Adrian Moldovan 4e9fc5a90f
[testing workflows] Tweak conditions for Slack alerts and reports publishing jobs (#46031) 2024-04-02 14:40:24 -03:00
Adrian Moldovan 7d6d2c94dd
Include e2e, api and performance tests in ci.yml (#45190)
Co-authored-by: Christopher Allford <6451942+ObliviousHarmony@users.noreply.github.com>
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2024-03-27 17:21:49 +02:00
Ron Rennick f8f94fa13a
skip PR live build on non-plugin changes (#45891)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-26 10:35:22 +02:00
Ron Rennick eee8643c53
assign blocks PHP PR reviews to blocks teams (#45849)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-25 15:31:19 -03:00
Adrian Moldovan e117bc6457
[e2e tests workflows] Fix merge reports depends on unknown job in HPOS disabled workflow (#45823) 2024-03-25 11:07:25 +00:00
Adrian Moldovan e9777de4aa
Update concurrency group for pr label workflow (#45793) 2024-03-22 12:51:28 -03:00
Adrian Moldovan de90c5f46e
[e2e tests workflows] Run non HPOS e2e tests on push instead of PR (#45746)
* Run non HPOS e2e tests on push instead of PR

* Removed evaluate job and renamed workflow
2024-03-21 10:21:37 -07:00
jonathansadowski 4d62936479
Remove awaiting triage label from enhancement issues (#45631) 2024-03-15 16:46:50 -05:00
Alejandro López Ariza 1a8ec1c0c2
Update code freeze GH Actions workflow to upload the woocommerce packages to the R2 bucket on code freeze. (#45393)
* Update code freeze GH Actions workflow to upload the woocommerce packages to the R2 bucket on code freeze.

* Make the job that uploads WooCommerce release packages to the R2 bucket independent from the Slack integration in release-code-freeze.yml workflow.
2024-03-15 08:38:47 +01:00
Ron Rennick 93c7ebfed4
exclude gglobalstep from community contributors automation (#45492)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-13 11:08:04 +02:00
Bart Kalisz ed6c7ea1e9
Blocks E2E: Make the workflow self-trigger (#45391) 2024-03-07 20:32:58 +01:00
jonathansadowski 41bb2ba0ad
Add workflow with cron for testing against WP nightly (#45260) 2024-03-07 11:12:13 -08:00
Bart Kalisz 211b6ef01b
Blocks E2E: Be more descriptive with the workflow job titles (#45381) 2024-03-07 13:32:29 +00:00
Bart Kalisz 9a14411937
Blocks E2E: Allow manually triggering the workflow (#45382) 2024-03-07 14:01:22 +01:00
Luigi Teschio 26c19fa1f8
Revert "[e2e tests blocks] Configure the number of shards for each ma… (#45324)
* Revert "[e2e tests blocks] Configure the number of shards for each matrix project (#45212)"

This reverts commit 72789656cf.

* trigger CI

* run E2E tests

* restore ci.yml file

* trigger E2E tests

* disable E2E tests about mini cart translations

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Fix the setupAndFetchQueryContextURL utility

* add comment

* Remove obsolete test

* Blocks E2E: Update timeout values (#45353)

Set timeout values same as core

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
2024-03-06 16:52:37 +00:00
nigeljamesstevenson 75f037e31e
Update test-assistant-release-highlight-tracker.yml 2024-03-05 01:08:15 +00:00
Jonathan Lane 0cb1782342
Explicitly clear out customers before testing (#45229)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-03-01 15:03:03 +02:00
Jonathan Lane bf43cf7e37
Update workflow to use latest checkout actions (#45199)
* Update workflow to use latest checkout actions

* Update non-HPOS workflow as well

* Update additional actions

* Set a slow test threshold at 30 seconds (15 is default)

* Final action updates

* Slow tests has to be an object

* Pin external actions to commit

* Slow test threshold and max

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-02-29 18:58:28 -04:00
Adrian Moldovan 72789656cf
[e2e tests blocks] Configure the number of shards for each matrix project (#45212)
* Reduce the shards from 5 to 2 for blocks e2e tests

* Include the workflow in paths

* More granular shard config

* Refine shards config
2024-02-29 11:50:17 -08:00
Adrian Moldovan 5401d143a4
Fix K6 tests run on PR merge to trunk (#45139)
* Update workflow to use the same setup as for PRs

* Skip K6 job is PR is not merged
2024-02-29 11:45:12 -08:00
nigeljamesstevenson 7ad4ef8e4d
Update test-assistant-release-highlight-tracker.yml 2024-02-27 12:26:37 +00:00
Ron Rennick d1afc4abe4
exclude dependabot from commmunity contributor label (#44861)
* exclude dependabot from commmunity contributor label

* use prior art from block repo

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-22 15:37:07 -04:00
Ron Rennick 6524f639b4
exclude tests folders from template version linting (#44721)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-22 15:05:28 -04:00
nigeljamesstevenson 5e0dd983b7
Update release-code-freeze.yml 2024-02-22 16:52:11 +00:00
nigeljamesstevenson 779e4cef79
Update test-assistant-release-highlight-tracker.yml 2024-02-22 14:01:24 +00:00
nigeljamesstevenson ff873a421d
Update test-assistant-api-rest-change-tracker.yml 2024-02-22 14:00:31 +00:00
nigeljamesstevenson be4a36579a
Update release-code-freeze.yml 2024-02-21 17:29:36 +00:00
nigeljamesstevenson be18770859
Update release-code-freeze.yml 2024-02-21 16:45:06 +00:00
Ron Rennick ace46a5120
add missing community reviewer folders (#44819)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-21 12:27:22 -04:00
nigeljamesstevenson ff68feada0
Update test-assistant-release-highlight-tracker.yml 2024-02-19 13:58:05 +00:00
nigeljamesstevenson 8043b1962e
Create test-assistant-release-highlight-tracker.yml 2024-02-19 13:54:00 +00:00
Jonathan Lane 2812adc5af
Add sharding to Blocks e2e tests (#44440)
* Add sharding to Blocks e2e tests

* Changelog

* Push a change to Blocks README to trigger tests

* Fix syntax

* Fixed again

* Try again

* Trying to get the shard number

* Shard names

* fix E2E test

* complete all the jobs

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2024-02-15 09:27:17 -08:00
Adrian Moldovan 729bc437fc
Revert "Skip e2e tests for not relevant changes (e.g. docs)" (#44645) 2024-02-15 17:56:42 +02:00
Jonathan Lane c3b355a53f
Remove test publishing (#44592) 2024-02-14 16:41:11 -08:00
Ron Rennick 16c8ec397c
fix label typo added in #44561 (#44618)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-14 11:10:03 -08:00
Leif Singer e548c715f3
Quote lines starting with asterisk in PR labeler YAML (#44573)
* quote lines starting with asterisk

* use single quotes instead of double quotes

* try triggering the workflow locally

* remove `workflow_dispatch` trigger again -- temporary testing
2024-02-13 11:30:31 +01:00
Ron Rennick bf2db602b6
add to auto labeler and review assign for Vortex and Developer Advocacy (#44561)
* add to auto labeler and review assign

* add vortex - vortex pr review assignment

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-12 14:19:31 -08:00
Adrian Moldovan 9f0fcb8532
Skip e2e tests for not relevant changes (e.g. docs) (#44316)
* Skip workflows when only .md files are updated

* Add paths-ignore for performance tests

* Add paths-ignore in the pr merge workflow

* Include docs/** in the ignore paths

* Update the list of paths to ignore

* Update the list of paths to ignore
2024-02-09 15:06:52 -04:00