Commit Graph

866 Commits

Author SHA1 Message Date
Paul Sealock 234963287b
Changefile from PR description: Fix community PR permissions issue (#39290)
* Add pull_request_target

* Add description to Enhancement
2023-07-20 12:38:39 +12:00
Alejandro López Ariza 032beaa37c
Add a new GitHub Actions workflow to track on Slack the new PRs merged into the WooCommerce repository (#39316)
Add a new GitHub Actions workflow to track on Slack the new PRs merged into the WooCommerce repository.
2023-07-19 19:56:15 +02:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Sam Seay a511e72b4c
Add linting to CI for monorepo utils, add to CI unit tests for docs. (#39240) 2023-07-18 12:47:13 +12:00
jonathansadowski 2f407cb172
Update post-merge workflow to add 'needs: analysis' label (#39277) 2023-07-17 17:01:36 -05:00
Alejandro López Ariza a661f5afde
Added new GitHub Actions workflow to arrange PR testing scrub sessions (#39142)
* Added new GitHub Actions workflow to arrange PR testing scrub sessions

* Minor fixes from PR review.

---------

Co-authored-by: Rodel Calasagsag <rodel.calasagsag@automattic.com>
2023-07-17 22:42:45 +02:00
Paul Sealock 072606f0aa
Package Release: Fix fetch depth so Changelogger has history (#39239)
set fetch depth to 0
2023-07-18 08:19:23 +12:00
Sam Seay 957fb2b07e
Update pnpm to 8.6.5 (#38990) 2023-06-29 16:51:29 +12:00
Paul Sealock b6b093225e
Package release: Handle new package validation (#39008) 2023-06-29 13:28:19 +12:00
Sam Seay 625a3ae296
Fix the monorepo utils lint job (#38991)
* Fix lint issues in monorepo utils.
* Add monorepo utils to the lint CI.
2023-06-28 23:45:46 +12:00
Paul Sealock d53cfd4336
Monorepo Utils: Add changelog addition from actions (#38510) 2023-06-27 10:07:47 +12:00
jonathansadowski 3314855487
Create separate channel for cherry-pick notifications. (#38906) 2023-06-26 15:24:33 -05:00
Christopher Allford ba5cc19757
Update project-pr-labeler.yml 2023-06-23 13:56:29 -07:00
Christopher Allford 2493f32a2f
Update project-pr-labeler.yml 2023-06-23 13:55:25 -07:00
Sam Seay b99f63769a
Remove a workflow that is not used and too old to trust (#38647)
Remove a workflow that is not used and too old to trust.
2023-06-22 22:24:02 +12:00
Paul Sealock ec9f489dd0
Update phpcs-changed to version 2.11.1 (#38756)
* bump version

* composer lock file update

* changelog
2023-06-21 14:09:28 +12:00
Corey McKrill 79b52d2a5f
Linting: Add pnpm commands and update contributing guidelines (#38727)
Adds pnpm commands for utilizing the new phpcs-changed Composer scripts, and updates documentation to make these commands more discoverable.
2023-06-20 12:33:41 -07:00
Paul Sealock 950c25b4a0
Monorepo Setup: Pin phpcs-changed version (#38754)
pin phpcs-changed dependency
2023-06-16 14:04:18 +12:00
Corey McKrill 446c8c1b0b
Linting: Add pnpm commands and update contributing guidelines
Adds the following pnpm commands for utilizing the new phpcs-changed
composer scripts (see #37465 and #38085):

- `pnpm --filter=woocommerce run lint:php:changes`
- `pnpm --filter=woocommerce run lint:php:changes:staged`
- `pnpm --filter=woocommerce run lint:php:changes:branch`

Also updates the contributing guidelines to make these commands more
discoverable.
2023-06-14 14:52:09 -07:00
Chi-Hsuan Huang f937a3e61b
Add an action to add trunk to live branches manifest (#38419)
Add build-live-branch action to add trunk to live branches manifest
2023-05-29 12:08:32 +08:00
Christopher Allford 230bc04050
Updated `wp-env` To 8.0.0 (#38440) 2023-05-26 15:48:48 -07:00
Paul Sealock 7164093928
Workflows: Remove Github Actions Bot conditionals (#38438) 2023-05-25 12:00:22 +12:00
Paul Sealock 3e56cd54cf
Code Freeze: Fix outdated variables in Slack message (#38409)
add correct variables
2023-05-24 09:57:57 +12:00
Sam Seay 4b2bece1c2
Use the new slack util to send slack notification in code freeze (#38290) 2023-05-23 09:15:46 +12:00
Alejandro López Ariza cf87fab3c2
Added comment to the PR template for people to indicate if the PR is part of a bigger feature. (#38295) 2023-05-22 14:28:24 +02:00
nigeljamesstevenson ff50a69256
Remove the unnecessary `daily.playwright.config` (#38336) 2023-05-20 00:49:07 +01:00
nigeljamesstevenson c99d60647e
E2e/gutenberg latest nightly 0 (#38287) 2023-05-19 12:24:08 +01:00
Sam Seay 5ba15f84cd
Remove the code cov action from CI checks (#38314)
Remove the code cov action.
2023-05-19 13:29:17 +12:00
rodelgc 94b665817c Merge branch 'trunk' into e2e/remove-daily-playwright-config 2023-05-18 19:36:19 +08:00
Paul Sealock b7d17f3d8d
Code Freeze CLI Add changelog to code freeze action (#38264)
Add changelog CLI to code freeze action
2023-05-18 10:41:46 +12:00
rodelgc 58f113ec47 Remove daily playwright config 2023-05-18 00:21:26 +08:00
Paul Sealock 5013232b9e
Add Changelog Auto Add workflow for development (#38311)
* add basic workflow for testing

* better name
2023-05-16 13:13:31 +12:00
Christopher Allford dedf728d51
Support PHPUnit Tests In `wp-env` (#38265)
You can now run unit tests with `test:unit:env` after using
`env:test` to start the environment.
2023-05-15 09:47:50 -07:00
rodelgc 8114e90703 Enable all jobs in release workflow 2023-05-13 10:12:40 +08:00
rodelgc 149f83aa2e Enable all jobs in daily workflow 2023-05-13 09:31:55 +08:00
rodelgc 68cd32a55e Test Gutenberg and its nightly 2023-05-12 15:38:15 +08:00
rodelgc 57c6e4b63b Use pnpm script from package.json 2023-05-12 14:31:45 +08:00
rodelgc 56db033947 REplace repo field with slug 2023-05-12 14:29:37 +08:00
rodelgc e71537b118 Disable reporting 2023-05-12 13:05:52 +08:00
rodelgc 244c216c76 Update report job matrix 2023-05-12 12:32:31 +08:00
rodelgc 93bb793178 Comment all other jobs 2023-05-12 12:27:18 +08:00
rodelgc 074c8b871a Test Gutenberg and its nightly build 2023-05-12 12:21:23 +08:00
rodelgc 68fe31abe4
Send Slack summary of release test results (#38180)
Check out files from WIP branch
2023-05-11 14:29:12 -07:00
rodelgc a91e48f6ee Run only Gutenberg tests 2023-05-11 18:19:19 +08:00
Paul Sealock b581db2a7e
CLI Code Freeze: Prevent Slack Notification on the wrong day (#38177)
add better condidional
2023-05-11 09:52:56 +12:00
Jeffrey Paul df0583f9b8
Fix/37502: Correct spelling errors. (#37887)
* change reference of Catpure to Capture

Co-Authored-By: Vikram  <93216400+vikrampm1@users.noreply.github.com>

* change reference of expicitly to explicitly

Co-Authored-By: Vikram  <93216400+vikrampm1@users.noreply.github.com>

* change reference 'cutted' to 'cut'

* change reference 'determening' to 'determining'

* change reference 'retreive' to 'retrieve'

* change reference 'neccessary' to 'necessary'

* change reference 'Fitler' to 'Filter'

* change reference of "seperate" to "separate"

Co-Authored-By: Ankit K Gupta <ankit.himcs@gmail.com>

* change reference of "wether" to "whether"

Co-Authored-By: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com>

* change reference of "staus" to "status"

* change reference of "retrive" to "retrieve"

* change references of "gatways" to "gateways"

* change references of "existant" to "existent"

* change reference of "requries" to "requires"

* change reference of "configuation" to "configuration"

* change reference of "processsing" to "processing"

* change reference of "represenation" to "representation"

* change reference of "dimentions" to "dimensions"

* change references of "reigster" to "register"

* change reference of "colum" to "column"

* change reference of "transtions" to "transitions"

* change references of "intially" to "initially"

* change references of "orignal" to "original"

* change references of "deprected" to "deprecated"

* change references of "paramter" to "parameter"

* change reference of "intance" to "instance"

* change reference of "elemets" to "elements"

* change references of "funcitons" to "functions"

* change reference of "specificed" to "specified"

* change references of "atributes" to "attributes"

* change reference of "tast" to "task"

* change reference of "chaning" to "changing"

* change reference of "retreiving" to "retrieving"

* change reference of "caluclation" to "calculation"

* change references of "Invaid" to "Invalid"

* change references of "paramaters" to "parameters"

* change reference of "Additonal" to "Additional"

* change reference of "teh" to "the"

* change reference of "evalutes" to "evaluates"

* change reference of "addedd" to "added"

* change reference of "excempt" to "exempt"

* change reference of "sequencially" to "sequentially"

* change reference of "previos" to "previous"

* change reference of "elegible" to "eligible"

* change references of "Boostrap" to "Bootstrap"

* change references of "compability" to "compatibility"

* change reference of "heirarchy" to "hierarchy"

* change references of "visibilty" to "visibility"

* change reference of "comparsion" to "comparison"

* change reference of "capabilties" to "capabilities"

* change reference of "datatores" to "datastores"

* change reference of "occured" to "occurred"

* change reference of "coresponding" to "corresponding"

* change references of "thier" to "their"

* change reference of "sucessfully" to "successfully"

* change reference of "insde" to "inside"

* change reference of "nagivation" to "navigation"

* change references of "visiblity" to "visibility"

* change reference of "documentaiton" to "documentation"

* change reference of "anayltics" to "analytics"

* change reference of "intalling" to "installing"

* change reference of "mininum" to "minimum"

* change references of "intial" to "initial"

* change reference of "Feld" to "Field"

* change reference of "taks" to "task"

* change reference of "trasnfer" to "transfer"

* change reference of "respone" to "response"

* change reference of "Extenstions" to "Extensions"

* change reference of "detault" to "default"

* change reference of "simultanious" to "simultaneous"

* change reference of "overides" to "overrides"

* change references of "Indvidual" to "Individual"

* change reference of "refering" to "referring"

* change reference of "aginst" to "against"

* change reference of "execuatable" to "executable"

* change reference of "repsonse" to "response"

* change reference of "documention" to "documentation"

* change reference of "asumed" to "assumed"

* change reference of "Minium" to "Minimum"

* change reference of "unqiue" to "unique"

* change references of "existance" to "existence"

* change reference of "compatability" to "compatibility"

* change reference of "Taxnomy" to "Taxonomy"

* change reference of "quering" to "querying"

* change reference of "retrun" to "return"

* change reference of "informations" to "information"

Co-Authored-By: Viktor Szépe <viktor@szepe.net>

* Add changelog

* Add changelog

* Fix typo

---------

Co-authored-by: Vikram  <93216400+vikrampm1@users.noreply.github.com>
Co-authored-by: Ankit K Gupta <ankit.himcs@gmail.com>
Co-authored-by: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com>
Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-05-08 15:55:09 +08:00
William Staley 934ef52092
Add Feature Requests option (#38029)
This adds a new section to the new issue creation page in GH that links a user to the feature request board on wccom.
2023-05-08 09:41:51 +02:00
Paul Sealock 98fc65ce02
Code Freeze CLI: Use version bump command in Code Freeze action (#38067)
get basic thing working
2023-05-04 09:12:20 +12:00
Sam Seay 5f3a78b324
Remove bypass script that is causing CI checks to fail (#38037)
Remove bypass script that is causing CI checks to fail.
2023-05-03 19:30:41 +12:00
Sam Seay 46aa3f2aa1
Add check for bot author to steps that should be skipped (#37949)
Add check for bot author to steps that should be skipped.
2023-05-02 15:21:35 +12:00
Christopher Allford 86c102a5ed
Fixed `review-testing-instructions.yml` Workflow Permissions (#38032) 2023-04-28 00:55:10 -07:00
Sam Seay 6d02b0a00e
Update cache action and fix bug with turbo caching in CI (#37774) 2023-04-28 16:34:49 +12:00
Paul Sealock a303df0da5
Monorepo utils: Fix GitHub flag (#38023)
move source files
2023-04-28 12:31:33 +12:00
Paul Sealock ce7733ae78
Monorepo Utils: Migrate cli-core (#38018)
* move source files

* add uuid type dependency
2023-04-28 10:16:19 +12:00
Paul Sealock 95dc211bf5
Code Freeze CLI: Add branch and milestone commands to Code Freeze action (#37948)
* Add milestone computation cli

* lock file update

* lock file update

* conflicts

* fixup
2023-04-27 09:02:32 +12:00
Paul Sealock 64c2526b98
Update WooCommerce support policy to L-1 (#37970) 2023-04-27 08:41:31 +12:00
Sam Seay 7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 (#37915) 2023-04-25 18:49:30 +12:00
Chi-Hsuan Huang 8b99b3f099
Drop WP 5.9 from CI (#37807) 2023-04-20 09:47:30 +08:00
Paul Sealock a4c8166a0e
Code Freeze CLI: Make sure a default value exists for override (#37778) 2023-04-20 07:07:54 +12:00
rodelgc dfb23eaccc Add steps to setup dependencies 2023-04-19 15:51:11 +08:00
rodelgc f1d72977c1 Add if condition 2023-04-19 15:32:52 +08:00
Barry Hughes 4504c5a8a1
Add links to the main project README.md and DEVELOPMENT.md guides. (#37682) 2023-04-18 07:36:07 -07:00
Paul Sealock 0fda297965
Monorepo Utils: Move postinstall build to local package.json (#37688)
* add warning if package hasn't been built yet

* move postinstall script

* remove extra build in highlight flow
2023-04-14 10:11:13 +12:00
Paul Sealock 78ff0195b9
Monorepo Utils: Add Code Freeze date function (#37589) 2023-04-13 09:28:53 +12:00
Barry Hughes c8fcc51a57
Add links to the main project README.md and DEVELOPMENT.md guides.
Related internal discussion: p1681316323858719/1681312857.759079-slack-C04US2XTBM3
2023-04-12 09:29:16 -07:00
Paul Sealock c4a7e9a11b
Monorepo CLI tooling: Set folder organisation (#37561) 2023-04-12 09:26:21 +12:00
Barry Hughes 2396eb8e4c
Add link to GitHub Discussions per DevAdv feedback. 2023-04-06 12:24:35 -07:00
Barry Hughes 7cde8d500e
Merge branch 'trunk' into update/contribution-guide-2023-03-03 2023-04-06 12:15:00 -07:00
barryhughes 56c4741757 Formatting. 2023-04-03 12:01:07 -07:00
jonathansadowski ac343d08d3
Add info about changelog tool to contributor guide (#37556)
* Add info about changelog tool to contributor guide

* Update .github/CONTRIBUTING.md

Co-authored-by: Leif Singer <leif@automattic.com>

---------

Co-authored-by: Leif Singer <leif@automattic.com>
2023-04-03 13:57:27 -05:00
barryhughes 25dc06dbbe Clarify changelog procedure. 2023-04-03 11:37:26 -07:00
barryhughes 67570fd420 Punctuation. 2023-04-03 11:33:13 -07:00
barryhughes 79cda9aa29 Revise feature request guidance. 2023-04-03 11:29:03 -07:00
barryhughes 766aaea48e No need for a one-item bulleted list. 2023-04-03 11:28:17 -07:00
barryhughes 5d0cf7e844 Update links to GitHub articles. 2023-04-03 11:20:53 -07:00
barryhughes 1384a54a98 Correct development blog link. 2023-04-03 11:17:33 -07:00
William Staley 213b3252fa
Updating core pull request template (#37555)
Streamlining the pull request template by removing checkboxes
2023-04-03 11:51:23 -05:00
jonathansadowski 6e5ce6d028
Pin to pnpm 7 in highlight changes workflow (#37476) 2023-03-28 10:37:46 -05:00
rodelgc f3366e7dd9
Fix incorrect workflow input for uploading Allure reports on PR merge tests (#37404)
* Fix incorrect input parameter

* Add changelog
2023-03-23 16:29:53 +01:00
nigeljamesstevenson 189460417c
Release tests with plugins installed (#37361) 2023-03-23 12:32:30 +00:00
Alejandro López Ariza c3994e6f9d
Add workflow to remind PR reviewers to also review the testing instructions. (#36918)
* Add workflow to remind PR reviewers to also review the testing instructions.

* Update review-testing-instructions GitHub Actions workflow to also mentioning teams in the comment.

* Update review-testing-instructions GitHub Actions workflow to find if the comment it posts was already posted and - in that case - update it instead of creating a new one.

* Pin find-comment and create-or-update-comment thirdparty GitHub Actions to full length commit SHA instead of tag for better security.
2023-03-22 12:50:36 +01:00
rodelgc ef1f1c3757 Re-enable all tests 2023-03-22 19:38:01 +08:00
rodelgc 524ad3db3e Test artifact upload 2023-03-22 19:12:23 +08:00
rodelgc 06da097968 Merge branch 'trunk' into e2e/release-plugins-0 2023-03-22 18:04:42 +08:00
rodelgc 17ae0a489f Remove test filters 2023-03-22 17:45:09 +08:00
nigeljamesstevenson c37080f29f
Add workflow to run API, k6 performance, and E2E tests on trunk after PR merge (#37033) 2023-03-22 09:44:36 +00:00
rodelgc 5f8aa3671c Merge branch 'trunk' into e2e/release-plugins-0 2023-03-22 17:29:08 +08:00
Tam Mullen da4f273963
Update labels in pr labeller to include Solaris focus (#37275)
Update labels in labeller to include Solaris focus
2023-03-20 11:21:24 +00:00
rodelgc 65c698a386 Remove unnecessary dash 2023-03-18 08:37:39 +08:00
rodelgc a80f65cc11 Add run number 2023-03-18 08:36:22 +08:00
rodelgc 874faf8d4e Use single function to do s3 upload 2023-03-18 08:35:03 +08:00
rodelgc 45071f2f03 Simplify upload scripts 2023-03-18 08:29:56 +08:00
rodelgc 2110d011ae More accurate step name 2023-03-18 08:02:43 +08:00
rodelgc 96b27622bb Enclose in double quotes 2023-03-18 07:27:48 +08:00
rodelgc ad8d2f9b44 More readable artifact names 2023-03-17 20:31:10 +08:00
rodelgc 9503868d71 Set environment descriptions 2023-03-17 20:16:01 +08:00
rodelgc b95b9000ce Fix artifact name 2023-03-17 18:13:43 +08:00
rodelgc bc44562329 Fix dependent job id 2023-03-17 18:07:32 +08:00
rodelgc 6a2239183d Remove install-filters in plugin tests 2023-03-17 17:55:55 +08:00
rodelgc 99e243a347 Shorten job name 2023-03-17 17:53:55 +08:00
rodelgc b7cb3f8284 Correct if condition 2023-03-17 17:52:11 +08:00
rodelgc b2e7478a30 Only run hello API tests 2023-03-17 17:48:26 +08:00
rodelgc f7c7a2c451 Add plugin tests 2023-03-17 17:47:28 +08:00
Vedanshu Jain ade1540ece Merge branch 'trunk' into hpos/unit-tests 2023-03-17 13:39:19 +05:30
rodelgc bcd9a7f9e7 Export function 2023-03-17 15:47:23 +08:00
rodelgc d3928b6121 Remove unnecessary explicit exit 2023-03-17 15:44:57 +08:00
rodelgc 76dca5548b Use separate files 2023-03-17 15:41:06 +08:00
rodelgc 94eff753be Specify allure report and results dirs 2023-03-16 16:09:53 +08:00
rodelgc be550fec19 Use e2e and api composite actions in wp and php version tests 2023-03-16 15:13:41 +08:00
rodelgc 8b44038699 Run e2e-wp-latest 2023-03-16 13:38:29 +08:00
rodelgc cc9943b3d1 Change sync to cp command 2023-03-16 11:44:50 +08:00
rodelgc dc7b824dad Remove misplaced env var assignments 2023-03-16 11:27:11 +08:00
rodelgc 10029d0007 Skip e2e-wp-latest for now 2023-03-16 11:13:00 +08:00
rodelgc f89dd7e2c5 Use `run-api-tests` action 2023-03-16 11:08:46 +08:00
rodelgc e914281652 Revert to using E2E_WP_LATEST_ARTIFACT 2023-03-16 10:00:49 +08:00
rodelgc 4ca522a16d Fix env var reference 2023-03-16 09:49:28 +08:00
rodelgc 891942ac7c Correct artifact name 2023-03-16 09:45:33 +08:00
rodelgc 71c008eb7e Use e2e composite actions on update wc test 2023-03-16 08:52:33 +08:00
rodelgc 763c819aea Checkout composite actions 2023-03-16 08:09:58 +08:00
jonathansadowski adffb280f8
Remove broken workflow for bypassing changelog-only PRs (#37216) 2023-03-15 17:20:13 -05:00
Tam Mullen 562fede1e2
Update the CI workflow to include WP 6.0 and 5.9 (#37180)
Update the CI workflow to include WP 6.0 and 5.9 matching our L-2 support policy
2023-03-15 15:49:33 +00:00
louwie17 1706585ea7
Pin PNPM to 7.29.1 to fix build errors (#37208) 2023-03-14 07:09:58 -03:00
rodelgc 8ddb2bb6bc
Update run-e2e-tests action description
Co-authored-by: Leif Singer <leif@automattic.com>
2023-03-13 08:38:44 +08:00
rodelgc b1ed8511dc
Update k6 job name
Co-authored-by: Leif Singer <leif@automattic.com>
2023-03-13 08:37:30 +08:00
rodelgc 6e517c9fd3
Update run-api-tests action description
Co-authored-by: Leif Singer <leif@automattic.com>
2023-03-13 07:55:33 +08:00
Vedanshu Jain f497146de9
Merge branch 'trunk' into hpos/unit-tests 2023-03-10 15:21:57 +05:30
jonathansadowski 4ebd35b41d
Update automation bypass to work correctly, consider actions bot. (#37045) 2023-03-09 17:10:33 -06:00
Sam Seay bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 (#37034) 2023-03-09 10:13:25 +13:00
rodelgc b60cc128fd
Allow running of "Smoke test release" on draft releases (#36997)
* Conditionally use authorization token when getting WC Zip download URL.

* Exponse error message

* Handle undefined authorization token more gracefully

* Specify GH token in workflow

* Add changelog

* Use E2E_GH_TOKEN instead of default github.token

* Provide GitHub token to other jobs

* Fix getting of tag name from triggered event

* Use "inputs" context instead

* Add release version to workflow name

* Correct concurrency group

* Fix workflow name

* Add --archive option

* Fix output setting

* Fix script for verifying asset

* Remove unnecessary 'uses' line

* Remove node 12 deprecation messages

* Re-add "published" release type
2023-03-08 10:23:56 +01:00
Leif Singer 6e2c4d1fa9
Update PR labeler to work with updated focus labels (#37061)
We recently added team names to the `focus: ...` labels:

https://github.com/woocommerce/woocommerce/labels?q=focus

The PR labeler relies on exact label names, however. This PR updates the PR labeler to conform to the new string.
2023-03-03 19:32:15 +01:00
rodelgc 46300131ff
Correct `UPDATE_WC` value in the "Smoke test daily" workflow (#37049)
* Correct UPDATE_WC value

* Add changelog
2023-03-03 13:58:21 +01:00
Rodel ad61d474d5 Correct step id 2023-03-02 22:01:52 +08:00
rodelgc f2b3aa6590 Enable all API tests 2023-03-02 18:26:02 +08:00
rodelgc a5d8898ba1 Add in files from working branch 2023-03-02 17:57:41 +08:00
Paul Sealock da1dce8f19
Package Release: handle initial release case (#36922) 2023-02-28 09:36:38 +13:00
rodelgc ea1925c841
Enable "Smoke test release" workflow (#36598)
* First pass at updating release test workflow

* Add changelog

* Set dir env variables

* Update to workflow

* Fix indent

* Fix indent

* Clean up indent

* Re-order steps

* Change order of jobs

* Added common php versions

* Update pipeline

* Update some labels

* Simplify for testing

* Update paths

* Create tmp folder

* Fix path

* Paths

* Try outputting some debugging

* Add step ID back

* Remove working directory

* Another path tweak

* Add API release tests

* Add k6 tests

* Add PHP tests

* Launch wp-env during PHP tests

* Try default values

* Tweak some settings, add WP testing

* Tweak some settings

* Re-order e2e steps

* Update step descriptions

* Reorganize tests, add plugin tests

* Enable only e2e job

* Initial set up to run against release smoke test site

* Fix syntax

* Temporarily disable update wc spec

* Temporarily disable downloading woocommerce zip

* Download release zip using tag name

* Fix wrong job name

* Fix wrong job name

* Fix dir

* Delete fetch-asset-id.js

* REfactor update-woocommerce spec

* Add error handling

* Download release zip by tag

* Refactor update woo spec to download zip by tag

* Correct job name

* fail test on invalid tag

* Enable all e2e tests

* Run api tests before e2e tests

* Fix job dependency

* Add customer credentials to api job

* Separate job for WC Update

* Combine e2e allure-results, then report

* Enable report job

* Fix context

* Change job and artifact names

* Use test s3 path

* Minor job name change

* Upload artifacts to bucket

* Correct s3 path

* Add quiet option

* Retain video on failures

* Finalize s3 path

* Try WP latest-1

* Revert to wp latest

* Refine search for woocommerce zip asset

* Get created-at

* Specify repo in gh command

* Slugify env description

* Trim space

* Sync with bucket instead of copy

* Remove invalid --recursive flag

* Re-add missing step to combine e2e results from update wc test

* Ensure artifact upload on test failure

* Enable all e2e tests on WP latest

* Retain existing data before updating WC

* Make test compatible with 'Canceled' and 'Cancelled'

* Set env_desc as env var

* Re-add deleted file

* Fix UPDATE_WC in daily smoke test workflow

* Add tracing in global setup

* Remove tracing

* Temporarily run only basic spec

* Job for WP Latest-1 & 2

* Fix "Required input 'created_at' not provided"

* Minor rename

* Remove install filter

* Install deps in get-wp-matrix

* Delete get-wp-versions.js

* Add get-wp-versions.js to e2e-pw folder

* REname file

* REfactor

* Refactor script for getting WP prev versions

* Update job dependencies

* Temporarily remove disabled jobs

* Allow e2e-wp-latest after api test failure

* Update L-1 & L-2 job deps

* Fix report-wp-latest

* Fix failing api test

* Make get-wp-versions quicker

* Publish report immediately after test

* Test reporting in e2e-update-wc

* Fix missing parameter

* Fix env_desc, re-enable other jobs

* Enable all e2e tests

* Minor job name change

* Fix flaky test

* Add php version testing

* stringify php versions

* Re-enable all e2e tests

* Up timeout to 2min

* Remove PHP 8.0

* Add missing conditionals

* Fix php version verification script

* Fix starting dir

* Fix flakiness

* Skip e2e if api failed

* Verify woocommerce.zip early

* Add token

* Delete test summary on github for the meantime

* Use default playwright config

* More meaningful variable names

* Update step titles based on review

* Use expect.poll()

* Minor spacing corrections

* Use `stable-check` endpoint, delete unnecessary loop

* Update locators to be JN-compatible

* Fix erroneous getting of release tag

* Fix conflict of "No thanks" button locator with that of WP Mail Logging's

* Update github-script action to v6

* Revert to 'Cancelled'

* Remove unnecessary step

* Provide missing env variables

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-02-27 12:11:46 +08:00
Vedanshu Jain 7f140c77ca Use latest WP version. 2023-02-24 17:02:36 +05:30
Vedanshu Jain 86e5f13180 Modify name to reflet HPOS tests + use latest WP.. 2023-02-24 17:02:05 +05:30
Vedanshu Jain 5c2ccb563b Run HPOS test in a matrix along with post tests. 2023-02-24 16:57:51 +05:30
Alejandro López Ariza 7fdd0f496f
Remove check to skip testing instructions if needed in PR template and add final check to confirm that testing instructions were added. (#36916)
* Remove check to skip testing instructions if needed from PR template and add final check to confirm that testing instructions were added.

* Update Pull Request template documentation to be consistent with the removal of the checkbox to skip testing instructions.

---------

Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-02-22 15:00:58 -08:00
Leif Singer 1b74871bae
Assign milestone only if a PR touches WooCommerce Core (#36897)
* Assign milestone only if a PR touches WooCommerce Core

* add woocommerce-admin to list of paths
2023-02-21 18:21:29 +01:00
jonathansadowski e8a170165a
Update the release date for code freeze action readme generation (#36877)
Update the release date for code freeze action
2023-02-20 18:00:14 +13:00
Sam Seay 79fa0b9413
Fix permissions for NPM package prepare script (#36732)
Contents write is needed to write to pull requests.
2023-02-14 00:27:50 +13:00
Alejandro López Ariza 3681b84a4c
Add checkbox to the pull request template to ask the PR author to read the testing instructions guide before writing them. (#36577) 2023-02-13 11:34:22 +01:00
nigeljamesstevenson 7c84271ee2
update smoke test daily workflow to run api tests first (#36494) 2023-02-02 12:04:47 +00:00
nigeljamesstevenson add0c4a5be update after code review 2023-01-31 16:29:15 +00:00
Sam Seay 341541964c
Update action dependencies to remove set-output and save-state warnings (#36549) 2023-01-27 20:26:54 +13:00
Sam Seay 5eb13f89bc
Update the pnpm setup action in workflows to remove Node.js 12 deprecation warnings (#36547) 2023-01-24 15:44:31 +13:00
nigeljamesstevenson 7cf1599208 update smoke test daily workflow to run api tests first 2023-01-18 17:12:55 +00:00
Vedanshu Jain 8079c157bc Remove commented out code for cleaniliness. 2023-01-18 13:03:17 +05:30