Commit Graph

994 Commits

Author SHA1 Message Date
nigeljamesstevenson aa349b31a7
Update test-assistant-issue-review.yml 2024-02-02 14:17:42 +00:00
nigeljamesstevenson 40921d457d
Update test-assistant-issue-review.yml 2024-02-02 14:17:18 +00:00
nigeljamesstevenson 7c466218aa
Create test-assistant-issue-review.yml 2024-02-02 14:00:25 +00:00
Paul Sealock 33c2c0c0ca
Package Release: Update usage of NPM auth token (#44215)
* update .npmrc

* try project specific .npmrc

* try whoami

* try package .npmrc

* whitespace

* try in tool

* try adding line

* set auth explicitly

* test whoami

* does this work?

* add script call
2024-02-01 13:23:26 -04:00
jonathansadowski a7f9139b33
Fix post-merge CI / update ci-jobs util to make base-ref optional (#44055)
* Update ci-jobs util to make base-ref optional

* Fix linting error

* Update baseRef option to be easier to read in ci.yml
2024-01-26 13:52:55 -06:00
Ron Rennick bbed678d13
add manifest check to pr markdown lint workflow (#43534)
* add manifest check to pr markdown lint workflow

* add json validation, storybook exception

* restore post tags to manifest

* add is-valid-json.js

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-24 12:39:22 -04:00
jonathansadowski 9b98a85380
Remove docs plugin from monorepo (#44013)
* Remove docs plugin from monorepo

* Add language to md-docs readme

* Fix lint error in blocks

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-01-23 16:16:07 -06:00
Albert Juhé Lluveras 6c3f8cb6fb
Add e2e tests to verify block templates can be customized if the theme has its own custom templates (#43650)
* Update commands to run e2e tests

* Capitalize Product Catalog template name

* Create tests with block theme with templates

* Create Block Theme with Templates test environment

* Update classic theme commands

* Code cleanup

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

* Code cleanup (II)

* Add config to blocks-playwright.yml and remove unnecesssary .github/workflows/playwright.yml file

* Remove unnecessary imports from product-catalog-template.block_theme_with_templates.spec.ts

* Update blocks e2e commands to pnpm

* Replace hardcoded strings with a variable

* Unify all 'block theme with templates' tests in a parameterized test

* Create a testData object for the Mini-Cart template part test

* Fix some code styling issues

* Create a testData object for the Mini-Cart template part test (II)

* Remove duplicate userText variable

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-01-18 11:39:24 +01:00
Jonathan Lane f7e8b676d6
Change HPOS and non HPOS e2e tests to use 5 shards each (#43672)
* Change HPOS and non HPOS e2e tests to use 5 shards each

* Add changelog

* Update numbering

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-01-15 14:18:57 -08:00
Christopher Allford 31c170f80c
Added Missing Lint Build (#43665)
Unfortunately, it looks like we need to build in order
to be able to lint. This makes sense since some
projects will lint imports from others that haven't
been built yet.
2024-01-15 12:30:54 -08:00
Christopher Allford 758df4854d
Use `ci-jobs` Utility For `ci.yml` Matrix (#43532)
This adds support for using the `pnpm utils ci-jobs` command in our `ci.yml` file. One of the bigger benefits to this change too is that we're now distributing a bundled version of the utils tool. This lets us run it without actually having to install the repo and will let us speed up any workflows that currently do.
2024-01-12 20:32:14 -08:00
Jonathan Lane ac5ffdae46
Move e2e HPOS disabled tests to matrix (#43537)
* Move e2e HPOS disabled tests to matrix

* Changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-01-12 10:30:10 -04:00
Jonathan Lane 9c2048f029
Shard e2e test execution on CI (#43056)
* Try sharding e2e tests

* Update reporter for merge

* Add changelog

* Change to trigger CI

* Update job name to match existing run

* Install with dependencies

* Set working directory

* Only run 2 workers at a time on CI

* Try single run, but 6 shards

* Simplify welcome modal closing util helper

* Switch to more simpler way of closing welcome modal

* Fix flakiness in create shipping zone test

* Try 10 shards

* Drop CI retries to 2 from 4

* Update path to reports

* Fix syntax error in GH file

* Remove working directory

* Update directories

* Path again

* Use Allure dir

* Fix merge step

* Install dependencies

* Setup repo in report merge

* Commands to merge reports

* Set working directory

* Update actions

* Name upload artifacts

* Just numbers for shards

* Update matrix

* Need to redeclare env variables

* Update file paths for merge step

* Remove working directory for merge step

* Try absolute paths

* Missed a path

* Put all artifacts in single download folder

* Tweak download action

* Might not have to merge reports

* Fix typo

* Update path for summary report

* Update results paths

* Tweak condition

* Add step to check success of matrix run

* Remove ternary per feedback

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Veljko <veljano@yahoo.com>
2024-01-10 10:42:05 -08:00
Ron Rennick 0ec42d2cb6
add linting configuration for docs folder (#43376)
* add linting configuration for docs folder

* fix markdown glob in repo lint

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-09 10:09:59 -04:00
nigeljamesstevenson 3efc2a22b1
Update release-code-freeze.yml 2024-01-09 12:13:29 +00:00
Sam Seay 29a409abc9
Set WOOCOMMERCE_BLOCKS_PHASE to experimental when generating PR live branch (#43207)
Set WOOCOMMERCE_BLOCKS_PHASE to experimental when building PR live branch.
2024-01-03 01:23:25 +13:00
Sam Seay 7619549091
Check if WOOCOMMERCE_BLOCKS_PHASE is set inside build-zip script. (#43169) 2024-01-01 17:20:01 +13:00
Alejandro López Ariza 057df162dc
Bump pnpm version in the release-code-freeze.yml workflow to fix issue that impeded the creation of new WooCommerce zip packages. (#42919)
* Bump pnpm version in the release-code-freeze.yml workflow to fix issue that impeded the creation of new WooCommerce zip packages.

* Update code freeze workflow to automatically get the pnpm version from the root package.json file.

* Improve reusability of the method to retrieve the pnpm version in the Code Freeze workflow.
2023-12-18 15:39:45 -06:00
Jonathan Lane 1bf35ac737
Playwright test workflow migration from Blocks repo (#42804)
* First pass at Playwright test migration

* Set working directory

* Remove exec

* Configure the environment before testing

* Remove filter

* Update paths for tests

* Try explicitly stating working-directory

* Change tests directory

* Try running all tests

* Uncommented project

* Update commands to run tests

* Comment out env config

* Uncomment

* Changelog

* Set up multiple test configurations

* Update failing test

* Update paths for artifacts

* Update path to artifacts

* Path to results

* remove unnecessary file

* Skip translation E2E tests

Skipping translation tests until we fix the missing translations issues after we changed the domain to "woocommerce"

* Update the artifacts path

* Fix lint errors

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2023-12-15 09:34:29 -08:00
Riad Benguella e1b7c42256 try sending the right hashes 2023-12-14 16:06:02 +01:00
Riad Benguella 743b26d498 Performance: Log the performance metrics to codevitals 2023-12-14 14:27:42 +01:00
Riad Benguella 2f10d5ca73 Perfomance: Fix the metrics job on trunk 2023-12-14 14:00:29 +01:00
Riad Benguella 1f9e8bf511 Fix typo 2023-12-14 11:12:09 +01:00
Riad Benguella 68617e8ef1 Performance: Add a tool and a CI workflow to compare performance between PR and trunk and track metrics on trunk 2023-12-14 10:48:15 +01:00
Jonathan Lane 8e2e7de7ce
Migrate Puppeteer test action from Blocks repo (#42733)
* Migrate Puppeteer test action from Blocks repo

* Update file path

* Use pnpm

* Use npm

* Updates based on feedback

* Comment out paths for testing

* Fix paths with working directory

* Use pnpm

* Fix missing pnpms

* npm instead

* Do use pnpm

* Update command

* Blocks wp-env config

* Update paths, config files

* Run test commands from blocks

* Config update

* Uncomment paths so that e2e checks only run on Blocks

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-13 16:01:34 -08:00
Christopher Allford 8cf2f54ab8
Migrated Blocks' PR Assignment Workflow (#42782) 2023-12-13 07:30:15 -08:00
Christopher Allford be290984b9
`setup-woocommerce-monorepo` Action in Highlight Changes Workflow (#42740) 2023-12-12 21:33:52 -08:00
Jonathan Lane dd255a2820
Update daily test workflows post Blocks-merge (#42716)
* Update action for API tests

* Changelog

* Update e2e tests

* Rename WooCommerce Payments to WooPayments

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-12 14:50:18 -08:00
Christopher Allford 798e79f7b1
Added Monorepo Setup To Changelog Workflow (#42002) 2023-12-10 23:15:56 -08:00
Christopher Allford fa011a431b Removed Unnecessary `run` From `pnpm` 2023-12-09 14:36:22 -08:00
Christopher Allford e9484c33f4 Removed Unnecessary `run` Usage
Since `pnpm` defaults to `run` unless a built-in
command exists we don't really need to use `run`.
2023-12-09 14:31:56 -08:00
Christopher Allford a82e646157 Fixed Beta Tester Release Workflow 2023-12-09 14:31:11 -08:00
Christopher Allford 1e4d55b36a Updated Documentation 2023-12-09 14:30:29 -08:00
Christopher Allford ed690db902 Updated `setup-woocommerce-monorepo` Usage 2023-12-09 14:30:10 -08:00
Christopher Allford e5eff12f79 Fixed Wrong Equality Operator
Too used to strict equality I guess :)
2023-12-09 14:28:40 -08:00
Christopher Allford b0d896c3e3 Refactored Monorepo Setup Action
This makes some adjustments for consistency in style as well as making
improvements to usability and performance. It also updates all of the
pinned hashes to pull in any fixes that have been made.
2023-12-09 14:28:37 -08:00
Christopher Allford 95c33afa8a Cache Fix Attempt 2023-12-09 14:26:36 -08:00
Christopher Allford e40e63a75c Fixed Matrix Generation Failure Evaluation 2023-12-09 14:26:36 -08:00
Christopher Allford 783efb70b1 Cache Fix Attempt 2023-12-09 14:26:31 -08:00
Christopher Allford 5bbb9edc6d Renamed WooCommerce Plugin Package
In order to prevent supply-chain attacks we have renamed
the package. The new name is `@woocommerce/plugin-woocommerce`.
2023-12-09 12:59:24 -08:00
Christopher Allford 8c6b414fe0
Revert "Refactoring Task Infrastructure" (#41928)
Revert "Refactored Task Infrastructure (#41202)"

This reverts commit 96a973b9fa.
2023-12-06 11:36:12 -08:00
Christopher Allford 96a973b9fa
Refactored Task Infrastructure (#41202)
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
Christopher Allford 88969742f2
Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
nigeljamesstevenson 9cf42cfd36
Update smoke-test-daily.yml 2023-11-30 01:39:20 +00:00
nigeljamesstevenson 4dcb0ffd8a
Update smoke-test-daily.yml 2023-11-30 00:53:12 +00:00
paul sealock cb3ed643c0 just use time 2023-11-28 12:33:48 +13:00
paul sealock f4b788028f fix quotes 2023-11-28 12:25:24 +13:00
paul sealock 9e7bf3d712 add time 2023-11-28 12:19:36 +13:00
paul sealock f4bee14d01 here we go 2023-11-28 12:19:28 +13:00
paul sealock 670a35907e oops 2023-11-28 12:12:29 +13:00
paul sealock c686bfeb8a here we go 2023-11-28 12:11:23 +13:00
paul sealock afa636c379 try this 2023-11-28 12:04:29 +13:00
paul sealock 5af9ebc087 save 2023-11-28 12:03:09 +13:00
paul sealock a9651ecf11 make better branch name 2023-11-28 11:49:59 +13:00
paul sealock 45e016703c rename package release branch 2023-11-28 11:41:00 +13:00
Alejandro López Ariza c9b478ce7d
Add new workflow to ping Slack every time a certain team is assigned as PR reviewer or tagged in a PR comment. (#41067)
* Add new workflow to ping Slack every time a certain team is assigned as PR reviewer or tagged in a PR comment.

* Fix workflow after getting feedback from review.

* Fix test-assistant-pr-review workflow so that it also triggers on PR review comments.

* Remove the pull_request trigger from test-assistant-pr-review.yml as it was added only to improve testability.
2023-11-27 21:39:32 +01:00
Jonathan Lane 595f99d933
Run daily smoke tests on wp-env (#41560)
* Run daily smoke tests on wp-env

* Add changelog

* Add step to install playwright to e2e tests

* Run k6 containers as e2e

* Get build first for k6

* Tweak for API report

* Change k6 tests back to non-local

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-23 12:41:27 +08:00
Ron Rennick 918c1bff3d revert to v8 2023-11-16 18:58:20 -04:00
Ron Rennick b5b364e902 revert stalebot to v8 and single run 2023-11-16 17:24:32 -04:00
Paul Sealock 251812232d
Package Release: Make sure git workspace is clean before releasing (#41416) 2023-11-17 08:44:22 +13:00
Ron Rennick 6402bf8aa3
use latest commit of stalebot action, tweak configuration accordingly (#41305)
* use latest commit of stalebot action, tweak configuration accordingly

* remove stalebot.js

* use default operations per run

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-11-16 09:15:08 -06:00
rodelgc 62877a9d1d
Change plugin name to "Woo Subscriptions" in release and daily testing workflows (#40460)
* Update spec

* Update daily, release workflows

* Conditionally post slack summary

* Add changelog
2023-11-15 23:08:47 +08:00
Jonathan Sadowski 4d6d57e63c Update code-freeze tool to work with accelerated 2023-11-13 15:24:21 -06:00
nigeljamesstevenson db22b89d12
Delete .github/workflows/cot-build-and-e2e-tests-daily-wip.yml 2023-11-13 12:34:34 +00:00
Leif Singer be76c3c341
update references to woocommerce.com to now reference woo.com (#41241) 2023-11-10 20:47:58 +01:00
nigeljamesstevenson 11de6bc7bb
Update and rename cot-build-and-e2e-tests-daily.yml to hpos-build-and-e2e-tests-daily.yml 2023-11-10 17:12:14 +00:00
nigeljamesstevenson d827587394
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 16:41:03 +00:00
nigeljamesstevenson 8f056ce3b0
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:50:28 +00:00
nigeljamesstevenson 1cd2404815
Create cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:30:18 +00:00
Leif Singer 2842b4c8ec ignore test fixtures when linting markdown 2023-11-10 15:49:08 +01:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
nigeljamesstevenson 3568e6f7a9
Revert "k6 perf tests: Fix parsing of COT/HPOS environment variable" 2023-11-07 11:29:35 +00:00
Corey McKrill 5420e84663
Update woocommerce.com email addresses to woo.com (#41245) 2023-11-06 12:12:15 -08:00
nigeljamesstevenson 50c56d8427
k6 perf tests: Fix parsing of COT/HPOS environment variable (#40930) 2023-11-06 14:54:13 +00:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
jonathansadowski 0a11d03ce5
Remove milestone from unmerged PRs (#41216)
* Remove milestone from unmerged PRs

* Add pr write permission to milestone manager
2023-11-03 13:22:07 -05:00
Ron Rennick c738977c21 include the switch breaks 2023-11-02 15:57:13 -03:00
Ron Rennick e695f42e85 Add stalebot schedules to allow processing of all issues 2023-11-02 15:42:26 -03:00
Jonathan Lane 9572bf2a12
Fix e2e and api execution on daily runs (#41113)
* Increase a couple of timeouts

* Remove duplicate update to nightly

* Add changelog

* Install Playwright

* Handle Playwright setup

* Add in build name

* Add in check in e2e tests for daily run

* Reverse check

* Rookie mistake

* Use ternary operator instead

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-01 15:44:24 -07:00
Ron Rennick fe582d6c97 bump action/stale version, increase operations per run 2023-10-31 14:36:20 -03:00
Rodel Calasagsag 22a1aabdd4 Remove enabling HPOS via old external plugin 2023-10-22 21:11:41 +08:00
Christopher Allford 8f8b1c8d47
Expand CI WooCommerce Matrix (#40882) 2023-10-19 11:55:37 -07:00
Christopher Allford fbbca9c3e0
Refactored Linting & Unit Testing Workflows (#40572) 2023-10-19 11:24:20 -07:00
nigeljamesstevenson bfb47ee8aa
Release test workflow: support WooAF draft releases (#40786) 2023-10-17 14:19:46 +01:00
Christopher Allford 436e6c0482
Add Triage Label Delay (#40783)
This makes sure that authors have an opportunity to add a label before
the triage label gets added due to a lack of labels.
2023-10-16 10:36:07 -07:00
Rodel Calasagsag f63b8353ee Add support for draft releases 2023-10-14 16:20:33 +08:00
nigeljamesstevenson e1d76d680b
Delete .github/workflows/test-assistant-api-with-date.yml
no longer required - used for testing a published workflow
2023-10-11 12:06:44 +01:00
nigeljamesstevenson 026c3ea20d
Ensure HPOS is disabled if ENABLE_HPOS is set to '0' (#40528)
* Ensure HPOS is disabled if ENABLE_HPOS is set to '0'

* update spacing and changelog

* log ENABLE_HPOS value for GitHub action

* remove log ENABLE_HPOS value for GitHub action

* updates to HPOS using REST API

* update spacing

* code tidy up

* workflow and global-setup updates after review

* update workflow for api tests

* workflow updates

* delete .github/workflows/pr-build-and-e2e-tests-non-hpos.yml

* update workflow

* update api setup for HPOS

* updates to workflows for api references and setup updates

* add in ENABLE_HPOS check

* update API tests BASE_URL

* updates after review

* update error text

* remove extraneous variable names
2023-10-11 15:03:24 +08:00
rodelgc c64ae36956
Fix recently failing "API on WP Latest" job in release testing workflow (#40453)
* Add changelog

* Add dedicated PW config and global setup files

* Add step to download chromium

* Specify config and env var

* Fix trivial whitespaces

* Disable Slack notif for now

* Re-enable Slack summary

* Simplify getting major, minor version numbers

* Use single line for response wait
2023-10-11 14:46:46 +08:00
nigeljamesstevenson 840b722ce5
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 19:44:01 +01:00
nigeljamesstevenson b7b763cf7e
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 16:54:59 +01:00
nigeljamesstevenson 60b4502e40
Update test-assistant-api-with-date.yml 2023-10-07 11:03:46 +01:00
nigeljamesstevenson a98d255f9f
Update test-assistant-api-with-date.yml 2023-10-07 11:01:29 +01:00
nigeljamesstevenson 1a1b54b355
Update test-assistant-api-with-date.yml 2023-10-07 10:43:26 +01:00
nigeljamesstevenson 292cd5cb5a
Update test-assistant-api-with-date.yml 2023-10-07 10:25:47 +01:00
nigeljamesstevenson 66b619ed4c
Update test-assistant-api-with-date.yml 2023-10-06 14:44:04 +01:00
nigeljamesstevenson 3fd92748a9
Update test-assistant-api-with-date.yml 2023-10-06 14:26:39 +01:00
nigeljamesstevenson 054aeaa6e3
Update test-assistant-api-with-date.yml 2023-10-06 14:05:57 +01:00
nigeljamesstevenson 70714fc744
Update test-assistant-api-with-date.yml 2023-10-06 13:42:30 +01:00
nigeljamesstevenson 8fa7906385
Update test-assistant-api-with-date.yml 2023-10-06 13:21:45 +01:00
nigeljamesstevenson 2907e31c46
Update test-assistant-api-with-date.yml 2023-10-06 13:01:24 +01:00
nigeljamesstevenson 9b188e2221
Update test-assistant-api-with-date.yml 2023-10-06 12:38:10 +01:00
nigeljamesstevenson 3b5d0829a1
Update test-assistant-api-with-date.yml 2023-10-06 12:30:18 +01:00
nigeljamesstevenson 6ccb20287f
Rename test-assistant-api-with-date to test-assistant-api-with-date.yml 2023-10-06 12:23:18 +01:00
nigeljamesstevenson 9c4dfc3fd3
Update test-assistant-api-with-date 2023-10-06 12:17:37 +01:00
nigeljamesstevenson 755b1ebf81
Update test-assistant-api-with-date 2023-10-06 12:06:40 +01:00
nigeljamesstevenson e69f640241
Create test-assistant-api-with-date 2023-10-06 12:05:27 +01:00
nigeljamesstevenson fd3571e9e2
Update test-assistant-api-rest-change-tracker.yml remove Milestone Due date 2023-10-05 10:52:28 +01:00
nigeljamesstevenson 9851535e0c
Update test-assistant-api-rest-change-tracker.yml slack-text message with milestone 2023-10-05 10:21:27 +01:00
nigeljamesstevenson 040ac64fb5
Update test-assistant-api-rest-change-tracker.yml
add milestone information to slack notification
2023-10-05 09:50:06 +01:00
nigeljamesstevenson 2c738a59dd
Create test-assistant-api-rest-change-tracker.yml
Workflow used to send a Slack notification when a PR contains rest api changes
2023-10-05 09:32:19 +01:00
jonathansadowski e8df6a634e
Add CFE label to cherry-picks via workflow (#40570)
add CFE label to cherry-picks
2023-10-03 16:00:17 -05:00
Christopher Allford 7de08e1751 Fixed PHPCS Base Comparison 2023-09-26 11:40:38 -07:00
Christopher Allford cd8398bce9
Revert "Fix Code Sniff Action Change Detection" (#40429)
Revert "Fix Code Sniff Action Change Detection (#40400)"

This reverts commit 9de59bf01f.
2023-09-26 00:58:31 -07:00
Christopher Allford 9de59bf01f
Fix Code Sniff Action Change Detection (#40400)
* Adjusted PHPCS Workflow Change Detection

This _should_ hopefully fix the broken detection of
changed files for running the code sniffs.

* Change Test

* Core Change

* Removed Sniff Test
2023-09-25 13:25:44 -07:00
Ron Rennick 402d489999
add enhancement exclusion to stalebot config (#40391)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-09-25 15:39:27 +02:00
Rodel Calasagsag d5a18163da Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-14 15:21:48 +08:00
Rodel Calasagsag 8f4d94bdc1 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-08 13:00:17 +08:00
Jon Lane 575e2346af Set env variable to update to nightly 2023-09-06 16:14:51 -07:00
Jon Lane b5e5f33825 Update to nightly release after reset 2023-09-06 16:06:49 -07:00
nigeljamesstevenson 5a8ed71edc
E2E: Remove WP Latest-2 from release tests (#40012) 2023-09-06 12:38:40 +01:00
Rodel Calasagsag 6d946930f1 Simplify WP L-1 wp-env setup 2023-09-03 18:19:25 +08:00
Rodel Calasagsag 9d1664b822 Fix input value 2023-09-03 11:55:16 +08:00
Rodel Calasagsag d34fb8b07e Re-enable steps and jobs 2023-09-03 10:56:37 +08:00
Rodel Calasagsag 8463c77765 Add command to verify wp version 2023-09-03 10:31:21 +08:00
Rodel Calasagsag 249f78b4ad Remove step to verify env details 2023-09-03 10:30:36 +08:00
Rodel Calasagsag 6af2632f5f Get only WP L-1 2023-09-03 10:29:42 +08:00
Jon Lane 6ee7f1fd78 Going to remove the API/E2E dependency for now so that E2E runs too 2023-09-01 14:30:18 -07:00
Rodel Calasagsag 910f8cf583 Handle skipped plugin tests more gracefully 2023-09-01 13:13:46 +08:00
Rodel Calasagsag 15f260f35e Set alternative value for env vars to make them more accurate 2023-09-01 13:13:08 +08:00
Rodel Calasagsag 2aefd9a301 Modify if condition 2023-09-01 12:12:36 +08:00
Rodel Calasagsag 08eab1046c Additional skip check 2023-09-01 11:39:10 +08:00
Rodel Calasagsag 0207bbff97 Handle skipped plugin tests 2023-09-01 11:35:37 +08:00
rodelgc be41a3b3dd
In the "Smoke test release" workflow, update `BASE_URL` to `API_BASE_URL` (#39954)
Fix environment variable
2023-08-30 10:24:58 +02:00
Sam Seay 17299325dd
Don't pass lint if it fails, but still run annotate. (#39943) 2023-08-30 12:48:39 +12:00
Rodel Calasagsag 23dce606c5 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-08-29 15:50:20 +08:00
nigeljamesstevenson 879136404d
Updates smoke-test-daily.yml workflow to correctly remove test execution (#39904)
Updates smoke-test-daily.yml workflow to correctly remove additional test execution as previous revert PR #39889 missed a step
2023-08-25 18:06:46 +08:00
Rodel Calasagsag 4a9361da46 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-08-25 14:42:58 +08:00
nigeljamesstevenson e0c569baff
revert #39803 Add additional Perf Test Daily run (#39889)
revert #39803
2023-08-24 13:27:58 -07:00
nigeljamesstevenson 5150d3959a
Add additional Perf Test Daily run (#39803) 2023-08-24 11:37:12 +01:00
Sam Seay 1fa3a880f3
Skip eslint annotate on fork PRs. 2023-08-23 09:09:09 +08:00
Rodel Calasagsag 0573492a74 Minor spacing corrections 2023-08-23 08:45:58 +08:00
Tam Mullen 661c8a1d47 Updated perf test env var 2023-08-18 10:32:35 +01:00
Tam Mullen fdd1196b58 Updated YML file 2023-08-18 09:54:04 +01:00
Tam Mullen 7efb1b5327 Added workflow job for w express perf tests 2023-08-18 09:44:29 +01:00
Sam Seay 6e93e8d35e
Add shard to the matrix name in PHP unit tests for clarity in GH UI (#39747) 2023-08-17 17:23:35 +12:00
Rodel Calasagsag 876a0eb6b9 Get actual run date 2023-08-17 11:37:42 +08:00
Rodel Calasagsag c1771cb372 Add missing required env vars 2023-08-17 10:42:13 +08:00
Sam Seay 2926acb521
Speed up the lint and test task by doing pnpm install instead of full setup (#39760) 2023-08-16 23:02:32 +12:00
Rodel Calasagsag dbbb2fb6ca Allow Slack block steps to run on e2e failure 2023-08-16 18:02:06 +08:00
Rodel Calasagsag 77277cdfbf Change slack channel id 2023-08-16 16:44:11 +08:00
Rodel Calasagsag c092494c1e Remove comments 2023-08-16 16:41:12 +08:00
Rodel Calasagsag d14d63114b Fix artifact name 2023-08-16 08:43:49 +08:00
Rodel Calasagsag 7317e60bbe Minor spacing fix 2023-08-15 16:53:05 +08:00
Rodel Calasagsag 2932e11ae2 Add job to send slack summary 2023-08-15 16:52:20 +08:00
Rodel Calasagsag eb458bbdf3 Remove unnecessary env var 2023-08-15 16:51:24 +08:00
Rodel Calasagsag 4211c1424f Add step to create and archive plugin test slack blocks 2023-08-15 16:51:06 +08:00
Rodel Calasagsag 58af912bfa Specify job outputs 2023-08-15 16:48:22 +08:00
Rodel Calasagsag a6039aa1b6 Use composite actions in plugin tests job 2023-08-15 16:47:20 +08:00
Rodel Calasagsag 92e15b9def Use composite actions in k6 job 2023-08-15 16:44:50 +08:00
Rodel Calasagsag c40b6e7e7e Use composite actions in E2E test job 2023-08-15 16:44:12 +08:00
Rodel Calasagsag 425063bf0e Use composite actions in API tests job 2023-08-15 16:42:33 +08:00
Sam Seay 45c49dc232
Add a workflow to separate out eslint and annotate PRs. (#39704) 2023-08-15 18:21:51 +12:00
Sam Seay 728c0db95f
Implement a workflow that lints changed markdown files. (#39707)
* Implement a workflow that lints changed markdown files.

* Supposed to pipe the contents of files not file names.

* Fix typos in the command.

* Test changing a markdown file.

* Use a more reliable action to determine changed files.

* Adjust glob.

* Try a faster setup approach with wp-scripts installed globally

* std in does not work with wp scripts, run markdownlint directly, improve output for multiple file failures

* Try simplify the script.

* Try basic colorizing to help read output.

* separate output with a line, remove ignore because we use stdin for this.

* Play around with separation of output.

* Try use ccze to colorize output more simply.

* Remove attempt at colorizing.

* Copy config from Gutenberg to match, try coloring again.

* Do not fail after first failure found.

* Try capture errors.

* Capture in var and capture error.

* Now we capture, add back colors.

* Minor formatting adjustments.

* More minor formatting improvements.

* Add a second file to test multiple lints.

* Revert changes to md files to show a run with no lint issues.

* Test fixing a markdown file to have a lint pass with changes.

* Revert testing changes to markdown file.

* Revert lock changes we dont have dep changes in this PR.
2023-08-15 09:13:01 +08:00
Sam Seay b5636cbf1d
Delete the build-release workflow, it has not been used in a long time. (#39677) 2023-08-12 01:03:50 +08:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
jonathansadowski eb210907e0
Update workflow to not add label when PR has already been analyzed (#39545) 2023-08-03 08:35:51 -05:00
Leif Singer 77af817444
Shard unit test runs (#39362) 2023-07-27 14:06:55 +02:00
Paul Sealock 62f02e36f8
Monrepo Utils code-freeze: Update version bump to modify release branches (#39243) 2023-07-25 10:03:01 +12:00
Jon Lane 9c571c97ce Update API URL in workflow and run all API tests 2023-07-20 14:26:59 -07:00
jonathansadowski bfedd049c1
Abstract PR scrub action so it can be used in two places (#39329)
* Abstract PR scrub action so it can be used in two places

* Rename composite action; add newline
2023-07-20 14:09:46 -05:00
Leif Singer 147db933be
Revert "Shard unit test runs" (#39344)
Revert "Shard unit test runs (#39302)"

This reverts commit 9ee44947e0.
2023-07-20 18:36:01 +02:00
Leif Singer 9ee44947e0
Shard unit test runs (#39302)
closes #38973
2023-07-20 10:01:28 +02:00
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
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
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
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
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
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
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
Paul Sealock c4a7e9a11b
Monorepo CLI tooling: Set folder organisation (#37561) 2023-04-12 09:26:21 +12: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
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 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 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