Commit Graph

514 Commits

Author SHA1 Message Date
Lourens Schep 268a3e9e61 Add feature config build step to code coverage task 2022-03-21 16:05:45 -03:00
Lourens Schep d0ff85158e Run feature config from main working directory 2022-03-21 15:09:13 -03:00
Lourens Schep f82d3b7301 Remove feature config from repo and add it to the gitignore 2022-03-21 14:49:44 -03:00
Moon fd2f7909ef Add WCA packages 2022-03-18 14:46:50 -07:00
Christopher Allford ba213dc845
Added WooCommerce Admin Auto-Labeling
This commit adds paths for automatically labeling WooCommerce Admin content.
2022-03-18 13:54:16 -07:00
roykho f8b76b7662
Enclose in double quotes and use correct ticks 2022-03-18 07:30:40 -07:00
Jorge A. Torres ca7bedd249
Merge pull request #31987 from woocommerce/fix/internal-links-in-readmes
Fix internal links in README files
2022-03-15 15:38:46 -05:00
Jorge A. Torres 80b1ea2b34
Correct "good first issue" link 2022-03-15 14:50:52 -05:00
Nestor Soriano 904ec4343c
Fix misc links in READMEs and GitHub templates. 2022-03-15 16:01:12 +01:00
Felipe Santos a8679b041d
Update the WP version for tests and WooCommerce 2022-03-03 11:38:27 +00:00
Lucas Bustamante d68b6d7777
Run @woocommerce/api tests in CI (#31931)
* Run @woocommerce/api tests in CI

* CR: Remove "paths-ignore"

* Trigger CI

* Remove description from yml

* Trigger CI

* Trigger CI

* Remove trigger CI
2022-02-28 12:04:47 +08:00
jonathansadowski 1cc61de404
Merge pull request #31873 from woocommerce/add/release-code-freeze
Add github workflow to automatically enforce the code freeze.
2022-02-25 16:14:49 -06:00
Jonathan Sadowski ad201cde88 Improve messaging when milestone or release branch already exist 2022-02-25 15:02:15 -06:00
Jonathan Sadowski 439ae1f17b Update code-freeze script to base its decision on latest release 2022-02-25 12:22:07 -06:00
Nestor Soriano 32e01a21f2
Fix internal links in README files
After the WooCommerce code was moved to 'plugins/woocommerce' many of
the internal links in the README files (links to other README files
or to code files) were broken. This commit fixes that.
2022-02-25 11:27:58 +01:00
Christopher Allford aae02d6872
Added Triage Label to Enhancements 2022-02-24 10:31:07 -08:00
Christopher Allford 8dffe885c6
Expanded Project Label Action Permissions
With the `pull_request_target` event, it will have
the write permissions needed to add labels.
2022-02-22 10:05:27 -08:00
Christopher Allford 91442cd5d1
Limited Post-Merge Comment
Since this is for the WooCommerce release process,
we should only trigger it for the Core plugin.
2022-02-22 10:04:33 -08:00
Christopher Allford 21ed16c24b
Fixed Project Labeler Matches 2022-02-21 14:59:50 -08:00
Christopher Allford e8096a7ac2
Fixed PR Labeler Workflow Syntax 2022-02-21 14:32:37 -08:00
Christopher Allford fb1f86b69a Added Project Label Workflow
This workflow should automatically label a
pull request based on the code being
touched.
2022-02-21 14:26:46 -08:00
Christopher Allford 396fbe12bd
Inverted Triage Workflow Check 2022-02-18 12:43:00 -08:00
Christopher Allford b8293e4216
Fixed Triage Label Check
This (hopefully) corrects the label presence check. The goal is to avoid applying the triage label when an issue is created with a label.
2022-02-18 12:41:47 -08:00
Christopher Allford bacfee1614
Added Triage Label Workflow
This workflow (should) automatically add the `status: awaiting triage` label when issues are created.
The workflow won't trigger if a label is applied when the issue is created.
2022-02-18 12:35:24 -08:00
Christopher Allford b954f3eb67
Updated Stale Label
The default 'Stale' label needs replaced with the one we use in the repository.
2022-02-18 12:11:30 -08:00
Ron Rennick 101347788f
Merge pull request #31921 from woocommerce/try/k6-run-ci-onpr
Run k6 tests on PR after e2e and API
2022-02-18 10:55:31 -04:00
Tam Mullen 06bb16bcfd Add k6 tests to the existing PR build and test action 2022-02-17 21:45:21 +00:00
Claudio Sanches 6a1a0b7681 Check for owner and repo 2022-02-17 18:16:32 -03:00
Claudio Sanches d5624db5ea Check if workflow is running inside a Woo org
Fixes coding standards
2022-02-17 16:11:10 -03:00
Barry Hughes 31884d9052
Update wording. 2022-02-17 09:06:29 -08:00
barryhughes a5a712fbd0 Update references to labels in the post merge commit. 2022-02-16 15:39:20 -08:00
Ron Rennick 8423b3b992
Merge pull request #31834 from woocommerce/fix/31833
Fix failing smoke tests when a new release candidate is published
2022-02-16 16:47:45 -04:00
Christopher Allford 265be6b514
Applied label changes 2022-02-15 20:50:40 -08:00
Christopher Allford 78912b9c8c
Applied label changes 2022-02-15 20:48:25 -08:00
Christopher Allford 73e0d276c2
Fixed votes label 2022-02-15 20:45:20 -08:00
Christopher Allford cd426fcc5a
Updated labels in automatic issue replies 2022-02-15 20:43:43 -08:00
Jonathan Sadowski 49915391d0 Update newlines to PHP_EOL in post-request-shared.php 2022-02-11 08:32:29 -06:00
jamelreid 79a3e8f7ba Fixed typo 2022-02-10 15:22:03 -05:00
Jonathan Sadowski 18a5d3a751 Remove confusing trailing dots near version numbers; use PHP_EOL; add newline to EOF 2022-02-10 08:51:26 -06:00
Jonathan Sadowski 757209ba37 Add github workflow to automatically enforce the code freeze. 2022-02-09 13:43:05 -06:00
jamelreid bd14664ef4 Removed test workflows 2022-02-07 09:37:23 -05:00
jamelreid 47218036f0 Updated ref 2022-02-04 10:20:16 -05:00
jamelreid a0569114a4 Used context to get ref 2022-02-04 09:57:47 -05:00
jamelreid 45dbb1816d Updated ref 2022-02-04 09:52:20 -05:00
jamelreid 44826048bf Added workflows to test github token 2022-02-04 09:46:20 -05:00
jamelreid 1a42791fba Updated github token 2022-02-04 09:45:36 -05:00
jamelreid 0164d219b8 Updated asset index 2022-02-04 08:16:41 -05:00
jamelreid d93f440d75 Updated to trigger on workflow_dispatch event
Also updated the workflow to pull the asset id for a given release and use that asset id to download woocommerce.zip
2022-02-04 07:34:45 -05:00
jamelreid 67f4720e0d Script to fetch an asset id for a release 2022-02-04 07:30:57 -05:00
jamelreid ca3dac4828 Adds step to execute Smoke test release workflow 2022-02-04 07:30:01 -05:00
jamelreid c9862f7a44 Merge branch 'trunk' into try/remove-some-test-label 2022-02-01 13:24:58 -05:00
jamelreid c9cbcf744d Removed test workflow file 2022-01-27 13:25:50 -05:00
jamelreid 6a1b849d01 Updated repo for WooCommerce Shipping & Tax 2022-01-27 12:46:16 -05:00
jamelreid bc73cf2a63 Updated test workflow 2022-01-27 09:09:27 -05:00
jamelreid 2baa3bca30 Added workflow script for testing 2022-01-27 08:43:16 -05:00
jamelreid 7da9e3c32e Removed test .yml file 2022-01-26 17:29:29 -05:00
jamelreid 3ff19df36f Added .yml file to test workflow 2022-01-26 17:07:25 -05:00
jamelreid 122ea458ae Updated to match changes in smoke-test-daily.yml 2022-01-26 14:22:25 -05:00
jamelreid b66b754244 Fixed test command 2022-01-26 14:21:51 -05:00
jamelreid b690b16247 Removed test workflow file 2022-01-26 14:03:36 -05:00
jamelreid 464839bfe2 Changed GITHUB_REPOSITORY to PLUGIN_REPOSITORY
Also updated the test command and reverted previous changes done in this PR.
2022-01-26 13:56:43 -05:00
jamelreid df7e0c72ff Fixed test command 2022-01-26 13:32:58 -05:00
jamelreid c0b3712398 Updated test command 2022-01-26 13:20:34 -05:00
jamelreid f5bbebb95b Updated test command 2022-01-26 13:08:46 -05:00
jamelreid e771145aa0 Added a PLUGIN_REPOSITORY variable 2022-01-26 12:49:05 -05:00
jamelreid fcf3d0fb5d Set GITHUB_REPOSITORY test 2022-01-26 12:24:43 -05:00
jamelreid cd8af3e2c4 Updated GITHUB_REPOSITORY in test workflow 2022-01-26 11:32:15 -05:00
jamelreid 28e87eeb3d Removed step reduce execution time 2022-01-26 10:23:57 -05:00
jamelreid 457f4b0160 Ensure that the directory is created 2022-01-26 10:11:12 -05:00
jamelreid e2eea8140f Added a workflow to test daily smoke tests at will 2022-01-26 09:49:41 -05:00
jamelreid f07decf956 Updated extraction path 2022-01-25 16:48:28 -05:00
jamelreid ac782638d3 Merge branch 'trunk' into try/remove-some-test-label 2022-01-25 15:12:25 -05:00
Claudio Sanches 9546369f88 Add example of how to build from a release branch. 2022-01-24 18:54:08 -03:00
Claudio Sanches fb52cf6c58
Merge pull request #31497 from woocommerce/add/triage-automation
Add workflow for issue triage replies
2022-01-24 17:05:05 -03:00
jamelreid af8fedf6f6 Removed whitespace 2022-01-18 11:46:09 -05:00
jamelreid bb2810abf9 Fixed commands and removed test steps 2022-01-15 14:07:16 -05:00
jamelreid 5dbf994d8e Added steps to tests condition evaluation 2022-01-15 13:58:25 -05:00
jamelreid 81b91e2ba3 Update ENV variables to be plain text 2022-01-14 11:54:32 -05:00
jamelreid 503fada6fb Removed duplicate plugins/woocommerce 2022-01-12 15:47:45 -05:00
Ron Rennick 49454b7ab0 use PR labels for label check 2022-01-06 08:20:56 -04:00
jamelreid b95b3a11df Updated workflow if condition 2022-01-03 18:11:26 -05:00
jamelreid bd48783c25 Updated test steps to always execute 2021-12-23 18:27:17 -05:00
jamelreid 48dec9ea14 Updated step condition 2021-12-23 18:14:40 -05:00
jamelreid 9be997d36e Updated to always remove label after smoke test 2021-12-23 18:02:37 -05:00
Tam Mullen 56820e9431 Added workflow for issue triage replies 2021-12-22 13:41:31 +00:00
jamelreid 237bb5ecd5 Updated step condition 2021-12-20 13:10:20 -05:00
jamelreid 5b63fa9a75 Merged trunk into add/post-external-smoke-test-results-to-pr 2021-12-20 10:51:04 -05:00
Greg 07a96e3aaa Swap out plugins 2021-12-16 13:32:43 -07:00
Greg 77bb3e958d Logic for private repos and minor tweaks 2021-12-16 09:58:11 -07:00
jamelreid 69f6850af0 Updated step condition 2021-12-15 17:48:33 -05:00
jamelreid e5c432e589 Updated TITLE env variable 2021-12-15 17:30:52 -05:00
jamelreid a24a9dcc7d Removed 'External' from step title 2021-12-14 12:53:52 -05:00
Jamel Noel Reid a560b4c524
Removed 'External' from Title
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-12-14 12:50:04 -05:00
Greg fba795421d Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-test-functionality 2021-12-13 15:45:32 -07:00
Greg c6cdf87aa7 Remove standalone run and add to smoke and release testing 2021-12-09 14:07:13 -07:00
Tam Mullen 108cb721dc
Merge pull request #30944 from woocommerce/try/gh-issue-forms
Try GitHub Issue Forms
2021-12-09 20:29:14 +00:00
Greg 9621e13de5 Run the plugin test on PR 2021-12-09 09:01:37 -07:00
Greg 4a577e9f1e Added some more plugins 2021-12-09 08:58:08 -07:00
Greg 44eedb0ee9 Run on trunk code 2021-12-08 17:23:00 -07:00
Greg 24f2f55742 Use a different syntax 2021-12-08 16:40:42 -07:00
Greg 287df6e10b Update workflow name 2021-12-08 15:58:58 -07:00
Greg 473c4e5279 Added upload and test functionality 2021-12-08 15:56:42 -07:00
jamelreid cbf8bfc1d0 Updated workflow to post test results to GitHub PR 2021-12-08 12:50:21 -05:00
Tam Mullen d738e5b3ce Adding link to votes needed issues. 2021-11-26 16:49:51 +00:00
Ron Rennick 207030ed9b remove stray quote in workflow action 2021-11-25 10:24:35 -04:00
roykho 22a1e0b2b5
Add path 2021-11-22 06:28:18 -08:00
roykho b88ec3a573
Add missing run command 2021-11-22 06:22:33 -08:00
roykho 549f8c5e9e
Update e2e path 2021-11-18 08:25:48 -08:00
roykho 19d26298ea
Merge branch 'trunk' into nx/gh-actions 2021-11-18 08:02:24 -08:00
roykho 9fbaca0a9d
Install dependencies again 2021-11-18 07:47:57 -08:00
roykho 7d6979905c
Use Nx commands for smoke test release action 2021-11-18 07:25:19 -08:00
roykho c39ab816d9
Use Nx commands for daily smoke test action 2021-11-18 07:23:30 -08:00
roykho 68b9e2896b
Install composer 2021-11-18 07:09:03 -08:00
roykho ce461d0c5b
Check directory 2021-11-18 06:56:55 -08:00
roykho 9b999deda0
Set path for unit test 2021-11-18 06:31:59 -08:00
roykho 2f4fa6e26c
Use Nx for unit tests action 2021-11-18 06:05:07 -08:00
roykho 4033121df7
Run npnx command 2021-11-17 12:25:33 -08:00
roykho d50855db29
Update working dir 2021-11-17 12:09:32 -08:00
roykho 3bd09dec8c
Use pnpx 2021-11-17 11:57:26 -08:00
roykho 79ee6c00f5
Create a seperate no dev composer install command 2021-11-17 11:32:53 -08:00
roykho 008f2cbea9
Change format of passing flags 2021-11-17 11:24:35 -08:00
roykho 8dda9990ff
Use native command 2021-11-17 10:29:43 -08:00
roykho 8aa2ade4ce
Update core path 2021-11-17 10:21:04 -08:00
roykho db3c0ded54
Install Nx for e2e 2021-11-17 10:07:17 -08:00
roykho feedced44b
Remove flags 2021-11-17 09:35:20 -08:00
roykho 131e1ae73b
Use correct command to install Jest 2021-11-17 09:11:53 -08:00
roykho 0657b44dd5
Move composer install script to Nx commands 2021-11-17 09:09:09 -08:00
roykho f15f75e9cf
No need to install Nx globally 2021-11-17 08:54:14 -08:00
roykho 24c565ba68
Add working directory 2021-11-17 08:39:05 -08:00
roykho bf2efa492a
Use Nx for code sniff action 2021-11-16 19:06:22 -08:00
roykho 142dcedc36
Use Nx commands for build and e2e tests 2021-11-16 18:32:08 -08:00
roykho f940d049d6
Use Nx commands for CI 2021-11-16 18:17:35 -08:00
roykho a56af927d9
Use trunk in our action-build step to be consistent 2021-11-16 17:55:56 -08:00
roykho 4b8d10c0e6
Remove grunt and install it higher up 2021-11-16 14:27:03 -08:00
roykho e9a6520214
Install Grunt 2021-11-16 12:15:46 -08:00
Greg aa5e0d6c4b Move run command onto single line 2021-11-16 09:03:50 -07:00
Greg 6849bf9796 Run API tests in their own job 2021-11-16 08:45:12 -07:00
roykho 6f0bba9e23
Use Nx commands in pr-code-coverage action 2021-11-16 07:26:33 -08:00
Tam Mullen b5eba41a44 Updated issue forms for documentation URL changes and PR Feedback 2021-11-11 21:13:08 +00:00
Paul Sealock ba87a69d6f
Build Core (#31117) 2021-11-11 15:13:08 +13:00
Paul Sealock a22de18f3f
Mirror Core to production repo (#31073) 2021-11-11 11:04:36 +13:00
Ron Rennick efe7e4f8ba
Merge pull request #31010 from woocommerce/add/run-api-tests-on-pr
Run API tests on PR with e2e tests
2021-11-05 09:12:26 -03:00
Claudio Sanches 77ccfc56ca
Merge pull request #31081 from woocommerce/fix-nightly-builds
Use trunk version of action-build
2021-11-04 19:37:11 -03:00
jonathansadowski 49771e6e1b
Merge pull request #31074 from woocommerce/pr-smoke-test
Update smoke test on PR to use pnpm
2021-11-03 10:40:15 -05:00
roykho 98fb5cafaa
Use trunk version of action-build 2021-11-03 08:19:22 -07:00
Greg 9df1b119c6
Merge branch 'trunk' into add/run-api-tests-on-pr 2021-11-03 08:47:30 -06:00
roykho 9622643c2e
Update smoke test to use PNPM and update paths 2021-11-03 06:24:18 -07:00
roykho d977a00ae5
Add in working dir for actual test 2021-11-02 18:26:44 -07:00
roykho ffd31b6376
Ref trunk 2021-11-02 18:16:06 -07:00
roykho b9d58359dd
Update smoke test on PR to use pnpm 2021-11-02 18:08:32 -07:00
roykho 9ac16a0a00
Revert testing dispatch trigger and update correct path 2021-11-02 14:02:49 -07:00
roykho 407d3b2ef7
Update e2e test pattern 2021-11-02 09:40:11 -07:00
roykho c2c65586e7
Remove running of docker 2021-11-02 09:17:15 -07:00
roykho 9ccbf5fdd5
Run docker 2021-11-02 08:36:17 -07:00
roykho 9356c1c230
Daily smoke test reinstate pattern 2021-11-01 21:51:31 -07:00
roykho 01117a2417
Add bck working directory so wc-e2e package is present 2021-11-01 21:09:52 -07:00
roykho bb27fde3d1
Update daily smoke test pattern 2021-11-01 21:03:05 -07:00
roykho 06d241daf2
Update daily smoke test prereq install path 2021-11-01 20:49:52 -07:00
roykho 5ee6461dd8
Added a manual trigger just to test 2021-11-01 18:36:49 -07:00
roykho ac6de4e77b
Use pnpm and update some paths 2021-11-01 18:30:17 -07:00
Greg a28840b1d9 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/run-api-tests-on-pr
# Conflicts:
#	.github/workflows/pr-build-and-e2e-tests.yml
#	plugins/woocommerce/tests/e2e/core-tests/specs/merchant/wp-admin-product-import-csv.test.js
2021-10-29 15:31:48 -06:00
Paul Sealock 789d942f89
Update e2e package locations and add PNPM (#30977) 2021-10-29 08:32:31 +13:00
Greg 8dac5b9a9d Added cleanup for product tags, attributes, and categories 2021-10-22 15:35:29 -06:00
Greg 3579e151e1 Run API tests first 2021-10-21 16:07:34 -06:00
Greg fd7251a780 Add in secrets 2021-10-21 10:28:52 -06:00
Greg 1373848fd8 Run API tests on PR with e2e tests 2021-10-21 09:55:48 -06:00
Paul Sealock ffa595ac40 add working directory path to build workflow 2021-10-19 10:46:11 +13:00
roykho 27127ea1fc Fix directory path for CI workflow 2021-10-19 10:35:47 +13:00
roykho d82b422f37 Add default directory to unit tests 2021-10-19 10:35:46 +13:00
roykho 2193082c01 Add default working directory 2021-10-19 10:35:46 +13:00
roykho e01ac7f1fb Add default path to work with 2021-10-19 10:35:46 +13:00
roykho 309468ff19 Add more paths for more steps 2021-10-19 10:35:46 +13:00
roykho 54e922a07b Update workflow code coverage path 2021-10-19 10:35:46 +13:00
Tam Mullen 1c63425ad6 Updated URLs in issue form templates 2021-10-15 20:13:12 +01:00
Tam Mullen a71b5ebe71 Adding initial issue templates for use with GitHub Issue Forms 2021-10-15 12:03:35 +01:00
Greg 923cfdbbf1 Use release Slack channel 2021-10-01 10:13:35 -06:00
Greg 0bd549de3c Move env variable 2021-10-01 10:13:03 -06:00
Greg 92403b3e25 Added WP l minus 2 testing on release 2021-10-01 10:08:55 -06:00
Greg 7dfff3da2e Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/pr-smoke-test-workflow 2021-09-24 14:28:52 -06:00
Greg 54a11300a2 Update remove label logic. 2021-09-24 14:28:36 -06:00
Greg affb99cae6 Use original if always check 2021-09-23 09:24:16 -06:00
Ron Rennick c15bf28b22
Merge pull request #30684 from woocommerce/add/api-test-script-scheduled-run
Run API tests with regular run and add script
2021-09-23 10:36:21 -03:00
Greg cf32051f0e Update if check 2021-09-22 18:08:51 -06:00
Greg 7a2ba8800a Add safer if check 2021-09-22 15:56:53 -06:00
Greg 299a6b5ca2 Use name instead of labels array 2021-09-20 17:43:53 -06:00
Greg c507ec535b Run label removal always 2021-09-20 14:30:10 -06:00
Greg c728b97603 Rename workflow 2021-09-20 13:05:45 -06:00
Greg 96fae311cb Use step instead of notify and rename step 2021-09-20 13:05:04 -06:00
Greg e3f1689e35 Add missing runs on 2021-09-20 11:18:40 -06:00
Greg f5ab77aa3e Remove label after run 2021-09-20 11:16:24 -06:00
Greg 30bbedcb2f
Update .github/workflows/pr-smoke-test.yml
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-09-20 10:29:02 -06:00
Greg 4707f48769 Added workflow for running smoke tests on PR 2021-09-10 15:24:24 -06:00
Greg 323a316bd3 Add release slack channel 2021-09-09 14:26:28 -06:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -06:00
Nestor Soriano 0ae984e6cc
Fix unit tests failing in PHP 8 in CI
The problem was that PHP 8 requires setting up a different version of
PHPUnit, and after doing that two versions were in place, one in
'vendor/phpunit' and another one in 'bin/composer/phpunit'; the
autoloader was picking the former but it should pick the later.
2021-08-24 15:36:06 +02:00
Greg 2f0aa1a30f Added default timeout override 2021-08-12 16:05:55 -06:00
Greg 32993b8aaf
Merge pull request #30456 from woocommerce/add/stalebot-enhancement-check
filter out enhancement requests from stalebot
2021-08-11 14:06:34 -06:00
Greg c64f383ba7 Use smoke test Slack channel for now 2021-08-10 20:40:27 -06:00
Greg a597edd6b0 Added in GitHub workflow 2021-08-10 20:38:41 -06:00