Commit Graph

957 Commits

Author SHA1 Message Date
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
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
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
Jonathan Lane d15bd09c39
Update daily workflow to sharding (#44330)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-02-08 11:45:03 +02:00
Adrian Moldovan a0b0b81b35
Fix e2e tests required job being skipped on failures (#44308) 2024-02-07 15:01:49 -08:00
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