Paul Sealock
c91312bf26
Packages Release: Add manual workflow ( #33922 )
2022-07-22 12:08:11 +12:00
jonathansadowski
6670af0d64
Split changelog steps from code-freeze action ( #34027 )
...
* Split changelog script from code-freeze
* Remove hardcoded repository info from testing
* Remove generation of changelog.txt file from automation
* Correct comments and add back write of readme
2022-07-21 17:58:23 -05:00
Roy Ho
1ca37cb74b
Add install and build step so paths are found ( #34002 )
2022-07-21 11:24:38 -07:00
Lucas Bustamante
edd453c40b
Skip test result generation and upload in forks ( #34023 )
...
* Skip test result generation and upload in forks
* Generate test report in fork
2022-07-21 11:49:25 -06:00
Roy Ho
4937d56f94
Add cache priming to trunk ( #33981 )
2022-07-20 08:11:42 -07:00
Lucas Bustamante
4ffd5992a9
Reduce e2e flakiness in CI ( #33979 )
2022-07-19 11:28:15 -06:00
Sam Seay
fa5c2430ac
Migrate the analyzer's DB scan to the tmp repo clone approach ( #33919 )
...
Now the entire `code-analyzer` process operates on a temporary clone.
2022-07-18 16:10:04 +12:00
rodelgc
9e576c2208
Upload API and E2E test reports to S3 bucket ( #33843 )
...
* Simplify if expression
* Call the new workflow in Woo Test Reports repo for publishing PR test reports
* Rename Playwright-related steps
* Archive Puppeteer screenshots only when Playwright flag is off
* Correct step name and if condition in Puppeteer steps
* Run only a single Playwright test for testing
* Correct workflow name
* Add commit message as input
* Remove invalid COMMIT_MESSAGE input
* Add root_dir input
* Update s3 root dir input
* Update link to full E2E test report
* Re-enable all Playwright tests
2022-07-14 14:15:20 -07:00
jonathansadowski
2343d5201a
Remove change file normalization from code freeze action. ( #33903 )
...
Remove change file normalization from code freeze action
This PR updates the code freeze action to remove the the change file normalization, as it was causing issues in this run of the action.
It should no longer be necessary now that we require valid change files and will soon have a pre-push hook to require that.
2022-07-14 11:22:49 -05:00
Paul Sealock
893b4988f7
Package release workflow: Hello World ( #33881 )
2022-07-14 16:58:47 +12:00
Sam Seay
5157bcf934
Use simple-git to produce diffs in the code analyzer ( #33837 )
...
In code-analyzer, clone the repo locally in a tmp folder and perform git operations on the copy instead of local files.
2022-07-14 15:39:38 +12:00
jonathansadowski
9c242bcc4c
Update github action to require valid changelog file ( #33772 )
...
* Update github action to equire valid changelog file
* Update github action for changelogger to install depedencies and composer
* Make valid changelog files that were invalid
2022-07-12 16:07:12 -05:00
Jonathan Lane
0cebdf5277
Convert e2e tests to Playwright ( #33462 )
...
* Final updates for Playwright
* Update config
* Add uuid dependency
* Increase retries to 2
* Update selectors on shipping page
* Use baseURL instead of hard-coded URL for API
* Clarify comment
* Use baseURL instead of hard-coded URL
* Check to see if an order was created before attempting to delete it
* Add changelog
* Turn on Playwright tests in GitHub
* Increase timeout for CI execution
* Update configuration options (minor edit)
* Fix for checkout flaky test
* Parse orderId from URL
* Check for substring
* Streamline email tests
* Remove .only
* Only clear email logs of messages for test
* Get orderId from page element
* Fix for test not waiting for reset
* Add in second wait for Performance section
* Change significance from minor to patch
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2022-07-06 14:28:00 -06:00
rodelgc
aed4763414
Post test result summary in workflow run and in PR comment using github-actions[bot] ( #33675 )
...
* Temporarily toggle Playwright feature flag on
* Add job for test summary
* Add dummy run command
* Debug object contents
* Test getting json from prev step output
* Try toJSON()
* Test access to keys
* Try using context
* Use separate file
* Debug steps
* Try dummy job summary
* Minor job rename
* Add script for preparing job summary
* Fix context syntax error
* Correct artifact path
* List contents of artifacts folder
* inspect API summary contents
* inspect apisummary
* Remove dummy step for listing artifacts folder contents
* Parse number to string
* Correct SHA
* Try printing job summary on next step
* Create PR comment
* Minor step rename to test PR comment update
* Add another line break
* Test for puppeteer tests
* Test full Playwright test run
* Test full Puppeteer e2e run
* Fix spacing inconsistency
* Specify other test result categories in PPTR run
* Rename script file
* Minor refactor and documentation on script file
* Minor addition to script documentation
2022-07-06 11:17:51 -06:00
Paul Sealock
a2b6b9bd2d
Analyzer: Fix regex to handle multiple changes in a single file ( #33651 )
2022-07-01 07:12:34 +12:00
Tam Mullen
def11b77d9
Update daily smoke test to add k6 smoke tests ( #33658 )
...
* Add k6 test scenario to the daily smoke test action.
* Add blank patch changelog for daily smoke update
2022-06-29 16:01:37 -06:00
Paul Sealock
f20d109164
Release JS Packages: Execute script from GH Action ( #33614 )
2022-06-29 13:41:43 +12:00
Roy Ho
98cf4e7160
Add PR numbers to changelog entries on code freeze process ( #33627 )
...
* Add PR numbers to changelog entries on code freeze process
* Add markdown links to PR
2022-06-28 11:15:39 -07:00
Roy Ho
14066bdeae
Add phpcs-changed ( #33584 )
...
* Add phpcs-changed
* Put report flag value in quotes
* Use phpcs action workflow instead
* Remove no longer used phpcs script
* Remove phpcs ignore rule
* Use proper name for code sniffer step
2022-06-27 11:46:29 -07:00
Paul Sealock
cb8b139e98
Prep package release workflow: Introduce Hello World ( #33576 )
2022-06-23 14:04:43 +12:00
Chi-Hsuan Huang
473aed8452
Fix "Pull Requests" link in PULL_REQUEST_TEMPLATE.md ( #33513 )
2022-06-21 08:56:00 +08:00
Christopher Allford
c0b76f70cc
Rename @woocommerce/admin-library ( #33460 )
...
This commit changes it to woocommerce/client/admin. This is an invalid NPM package name and an invalid Composer package name. This will prevent conflicts but also identify it as a component of Core.
2022-06-17 13:28:34 -07:00
Jamel Noel Reid
44d862e10d
Added event trigger for pre-releases ( #33200 )
...
* Added event trigger for pre-releases
When a woocommece pre-release occurs, this workflow will trigger a testing event in another repo defined using project secrets.
* Set to only fire on prereleases
* Updated run condition
* Fixed run condition
2022-06-17 15:03:32 -05:00
jonathansadowski
626a409e83
Release automation: generate changelog during code freeze ( #33046 )
...
* Update code freeze script to generate changelog PRs
* Add changelog file
Co-authored-by: jonathan <jonathan@jonathans-MacBook-Pro.local>
2022-06-16 14:44:07 -05:00
Christopher Allford
6d0fc0d6ac
Expand Repository Development Documentation ( #33423 )
...
This commit reworks some of the documentation in the monorepo to better represent how to get started and develop projects in it.
2022-06-15 21:55:25 -07:00
Christopher Allford
b7931409f2
Migrate From Nx to Turborepo ( #33079 )
...
This replaces all `nx` commands with `turbo` commands and removes Nx from the repository. All of the `project.json` files have been removed and any commands that broke with Turborepo have been adjusted.
2022-06-09 14:40:07 -07:00
Paul Sealock
c3fd7134cc
Analyzer: Turn on comments for database changes ( #33224 )
2022-06-09 09:25:49 +12:00
jonathansadowski
7eb22eabde
Update code freeze script exit code on failure ( #33340 )
...
Update code freeze exit code
2022-06-07 18:13:18 -05:00
jonathansadowski
77703fd7f2
Update changelogger validation to only affect PRs against trunk ( #33214 )
...
* Update changelogger validation to only affect PRs against trunk
* Fix syntax error in changelog workflow
2022-06-07 11:11:42 -05:00
Christopher Allford
112b9ac67a
Prefixed Private JS Packages ( #33218 )
...
In order to ease the identification of private packages within the monorepo, this adds an `internal-` prefix to all of the current private packages. This makes it immediately clear when reviewing `packages/js` what is and isn't a private package.
2022-05-31 15:42:00 -07:00
rodelgc
541abd9178
REP: Post daily smoke test report on Slack ( #33203 )
...
* Separate job for api test
* Remove unnecessary comment
* Use ubuntu 20.04 in job "publish-test-report"
* Simplify syntax in "if" condition
* Temporarily add push trigger for testing
* Temporarily disable running jest e2e tests for testing
* Remove unnecessary OR operator
* try: disable certain jobs for testing
* try: run 'hello' api test for testing
* Implement timeout override in API tests
* Allow workflow to override timeout of api tests
* Correct parsing of timeout override
* try: temporarily disable e2e job
* try: make api test verbose for troubleshooting
* try: temporarily disable some install steps for testing
* Correct smoke test env vars
* try: run all api tests
* Re-enable install-build steps
* Correct smoke test env var values
* Temporarily disable running all e2e tests after WC upgrade
* Remove unnecessary flag for daily smoke test runs
* Use different workflow for publishing daily smoke test report
* Use env vars instead of github expressions in accessing job outputs
* Correct multiline syntax
* Correct api_artifact input value
* Take only the first line of commit message
* Correct passing of input value
* Re-enable jobs before submitting for review
* Separate job for api test
* Remove unnecessary comment
* Use ubuntu 20.04 in job "publish-test-report"
* Simplify syntax in "if" condition
* Temporarily add push trigger for testing
* Temporarily disable running jest e2e tests for testing
* Remove unnecessary OR operator
* try: disable certain jobs for testing
* try: run 'hello' api test for testing
* Implement timeout override in API tests
* Allow workflow to override timeout of api tests
* Correct parsing of timeout override
* try: temporarily disable e2e job
* try: make api test verbose for troubleshooting
* try: temporarily disable some install steps for testing
* Correct smoke test env vars
* try: run all api tests
* Re-enable install-build steps
* Correct smoke test env var values
* Temporarily disable running all e2e tests after WC upgrade
* Remove unnecessary flag for daily smoke test runs
* Use different workflow for publishing daily smoke test report
* Use env vars instead of github expressions in accessing job outputs
* Correct multiline syntax
* Correct api_artifact input value
* Take only the first line of commit message
* Correct passing of input value
* Re-enable jobs before submitting for review
* Add push trigger for final testing
* Re-enable e2e tests, remove push trigger before merge
* Fix spacing
* Correct slack channel id
2022-05-31 12:57:04 -06:00
Roy Ho
b0914e5531
Increase timeout limits for workflows ( #33272 )
2022-05-31 07:58:54 -07:00
Roy Ho
804302ed53
Add Slack notification for code freeze ( #33217 )
...
Add Slack notification on code freeze
2022-05-27 09:44:43 -07:00
Jonathan Lane
f70afccec9
Merge pull request #33139 from woocommerce/e2e/rep-playwright-feature-flag
...
Run Playwright tests behind feature flag
2022-05-25 14:55:23 -07:00
Jonathan Sadowski
85fa589b5c
Remove 5.7 from PR Unit Test Workflow
2022-05-25 16:17:17 -05:00
Jonathan Sadowski
af575532b5
Update the CI workflow to include WP 5.9 and 5.8 matching our L-2 support policy
2022-05-25 16:00:44 -05:00
Jon Lane
cb36fe8d50
Change flag back
2022-05-25 10:21:17 -07:00
Jon Lane
06d0e7a876
Test feature flag for Playwright
2022-05-25 10:19:50 -07:00
Rodel
f69d8ba6cb
Toggle flag off
2022-05-24 14:45:02 +08:00
Rodel
54ff88ffd7
Change step name
2022-05-24 14:44:10 +08:00
Rodel
ed70a94a07
Install chromium browser only
2022-05-24 14:06:23 +08:00
Rodel
a84d96afc7
Remove extra spaces
2022-05-24 13:31:59 +08:00
Rodel
cb1910ab18
Change flag scope to workflow level
2022-05-24 13:27:53 +08:00
Rodel
d1a5df46e6
Correct trigger for "Archive e2e report" step
2022-05-24 13:13:48 +08:00
Rodel
fb51e5dfc2
Use flag on publish reports job
2022-05-24 13:11:12 +08:00
Rodel
f279202ee8
Improve readability of if condition
2022-05-24 12:47:00 +08:00
Rodel
89a3924512
Remove unnecessary step id
2022-05-24 12:37:54 +08:00
Rodel
abd4c5e683
Correct if conditions
2022-05-24 12:36:57 +08:00
Rodel
c9ebaa22c2
Set flag to literal boolean value
2022-05-24 11:19:52 +08:00
Rodel
2a6554be94
Change variable assignment
2022-05-20 16:58:29 +08:00
Rodel
3407b2d0ad
Remove unnecessary brackets
2022-05-20 16:39:38 +08:00
Rodel
08d34968ce
Try correcting boolean value assignment
2022-05-20 16:38:59 +08:00
Rodel
40d04ff1b8
Ignore archiving of playwright test report when files were not generated
2022-05-20 16:32:04 +08:00
Rodel
4474e08ff9
Correct bad line break
2022-05-20 16:19:57 +08:00
Rodel
018677e35b
Add step to generate e2e report on CI
2022-05-20 16:08:49 +08:00
Rodel
b2a61a760c
Add step to install playwright supported browsers
2022-05-20 16:05:12 +08:00
Rodel
0c826bf22d
Change VM in Publish test reports job
2022-05-20 14:41:49 +08:00
Rodel
a53e61c836
Implement Playwright feature flag in PR test workflow
2022-05-20 14:37:25 +08:00
roykho
c92650df2b
Add paths input for install build workflow
2022-05-19 08:29:38 -07:00
rodelgc
7e49c151b7
Update publish-test-reports if condition ( #33085 )
...
Prevent running the "Publish test report" job when none of the tests ran
2022-05-19 11:20:33 +08:00
Roy Ho
4ac7ea4518
Merge pull request #33075 from woocommerce/dev/resuable-actions
...
Add composite install and build action
2022-05-18 06:33:19 -07:00
roykho
c3fa0f5d04
Add workflow dispatch functions
2022-05-17 12:29:16 -07:00
roykho
1042f22cf8
Extract cache and build to rest of workflows
2022-05-17 11:48:24 -07:00
roykho
f4cf7899e7
Extract out caching step
2022-05-17 09:26:08 -07:00
roykho
dbc86cb89e
Revert phpcs changes
2022-05-17 08:40:39 -07:00
roykho
dac4993295
Try fetch-depth 2 on PHPCS
2022-05-17 08:32:33 -07:00
roykho
08892b3d9f
Test code sniff fetch depth 1
2022-05-17 08:27:47 -07:00
roykho
916c285bc5
Remove redundant checkout step
2022-05-17 07:21:39 -07:00
roykho
07d401c453
Add shell property
2022-05-17 06:45:50 -07:00
roykho
fa47ab3f8e
Add composite install and build action
2022-05-17 06:24:49 -07:00
roykho
73ba1e591f
Add composite install and build action
2022-05-17 06:20:23 -07:00
Claudio Sanches
2f4f8277bf
CLI tool and GH workflow to highlight PR changes ( #32063 )
2022-05-17 13:47:17 +12:00
jonathansadowski
779ce5c23e
Merge pull request #33038 from woocommerce/update/workflow-cache
...
Cache Composer global store
2022-05-16 10:22:12 -05:00
roykho
7056cf93b6
Add additional pnpm cache dir
2022-05-16 06:01:53 -07:00
rodelgc
6cda659980
Publish API test reports to GitHub Pages
...
- Added workflow to publish API tests
2022-05-16 17:59:40 +08:00
roykho
cf5c47eb09
Cache Composer global store
2022-05-13 13:43:33 -07:00
jonathansadowski
44196c47e2
Merge pull request #32984 from woocommerce/fix/mirror-workflow
...
Copy file to correct path
2022-05-13 08:46:28 -05:00
roykho
a9d67a0502
Copy file to correct path
2022-05-12 09:13:45 -07:00
roykho
8f9957f0d4
Fix smoke test on release
2022-05-12 07:12:29 -07:00
Roy Ho
8756a7df14
Revert "Copy composer.json to a different path"
2022-05-11 06:46:19 -07:00
roykho
aa2cfeabc4
Copy composer.json to a different path
2022-05-10 13:22:59 -07:00
Paul Sealock
635e3f6449
PR Template: Remove suggestion to use affected for changelogs ( #32890 )
...
* Remove suggestion to use affected for changelogs
* Update message in changelogger validation
2022-05-11 07:49:23 +12:00
roykho
36656e9c3d
Move copy of composer.json step to after unzipping
2022-05-09 08:23:48 -07:00
roykho
ab58263e80
Add unique secrets cache key to enable clearing of cache
2022-05-04 15:20:31 -07:00
roykho
a632ca67fd
Lock build script php version environment for consistency
2022-05-03 14:04:52 -07:00
roykho
65aebd1e44
Use prevent double zip script
2022-05-03 14:04:03 -07:00
Christopher Allford
790d085f12
Merge pull request #32657 from woocommerce/refactor/standardize-postinstall
...
Utilize `post install` Script for Composer
2022-05-03 10:21:33 -07:00
Roy Ho
1ed5445635
Update workflows to run build zip script ( #32825 )
2022-05-03 11:48:20 +12:00
Christopher Allford
84334c149b
Fixed Linting Errors
2022-05-02 12:55:48 -07:00
roykho
45a036f35b
Match minor and patch
2022-05-02 10:08:52 -07:00
roykho
f2e4a686f1
Lock pnpm to specific version
2022-05-02 09:39:40 -07:00
roykho
6f61dd8088
Update cache paths
2022-04-27 09:05:01 -07:00
roykho
e1499a1772
Update port
2022-04-27 07:45:10 -07:00
roykho
6a447065d8
Fix paths and cache composer
2022-04-27 07:29:33 -07:00
roykho
e5bdd3fcd3
Refactor workflows to remove action-build step
2022-04-27 06:40:37 -07:00
roykho
57c1c0bc1c
Freeze Ubuntu release to 20.04 for best practice and consistency
2022-04-26 18:28:56 -07:00
roykho
d6a1f7212c
Remove comment
2022-04-26 08:20:32 -07:00
roykho
7640715150
Test cached results
2022-04-26 08:04:20 -07:00
roykho
fc705cff77
Use glob pattern for hash key
2022-04-26 07:47:50 -07:00
roykho
c78577ee22
Remove comment to test cached Composer Unit tests
2022-04-26 07:28:20 -07:00
roykho
bd096a6edc
Use glob pattern to cache multiple nested Composer vendor paths
2022-04-26 07:07:15 -07:00
jonathansadowski
4a19efc739
Merge pull request #32725 from woocommerce/workflow/caching-3
...
Refactor caching for workflows
2022-04-21 16:56:23 -05:00
Jon Lane
20befd32d7
Update Slack Channel IDs for workflows
2022-04-21 13:04:31 -07:00
Jonathan Lane
ca54907267
Merge pull request #32684 from woocommerce/add/smoke-test-daily-site-checker
...
Adding workflow to check status of site used for daily smoke tests.
2022-04-21 12:07:05 -07:00
roykho
3f4c2060dd
Clean up and bump versions
2022-04-21 11:46:30 -07:00
roykho
6e5d61da0b
Test pr smoke test workflow
2022-04-21 11:29:53 -07:00
Roy Ho
018da05414
Merge branch 'trunk' into workflow/caching-3
2022-04-21 10:29:24 -07:00
Joel Thiessen
6f4bb7050d
Merge pull request #32528 from woocommerce/update/32508_pnpx_deprecated
...
Updating all instances of now-deprecated `pnpx` to `pnpm dlx`
2022-04-21 10:16:31 -07:00
roykho
bd23093c42
Refactor caching for workflows
2022-04-21 09:45:12 -07:00
Tam Mullen
28de46f9ef
Updated site check trigger to be daily on cron after smoke tests have finished
2022-04-19 11:03:13 +01:00
Tam Mullen
c7c8775a49
Adding workflow to check status of site used for daily smoke tests.
2022-04-18 19:30:06 +01:00
Chi-Hsuan Huang
863316ade7
Merge pull request #32518 from woocommerce/update/32516-woocommerce-admin-links
...
Update woocommerce-admin links to point to woocommerce repo
2022-04-14 13:40:25 +08:00
Joel Thiessen
0a0c6b45cf
Merge branch 'trunk' into update/32508_pnpx_deprecated
2022-04-13 12:35:29 -07:00
Jonathan Sadowski
bf6b16972c
Update PR template and post-merge comment for changelogger
2022-04-13 10:16:33 -05:00
Chi-Hsuan Huang
630611b668
Update .github/CONTRIBUTING.md
...
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2022-04-13 12:37:17 +08:00
Jonathan Sadowski
33981358b6
Fetch more git history for changelogger comparison
2022-04-11 10:50:03 -05:00
Joel T
1c162a14d2
Updating all instances of pnpx to pnpm dlx/exec
2022-04-07 17:52:05 -07:00
Chi-Hsuan Huang
3fc88f0a71
Update links of woocommerce-admin to https://github.com/woocommerce/woocommerce
2022-04-07 17:02:43 +08:00
Paul Sealock
ab673dd14b
Call Core's script from root level
2022-04-06 15:27:37 +12:00
jonathansadowski
90a545b013
Merge pull request #32450 from woocommerce/add/changelogger-validation
...
Add changelogger validation.
2022-04-05 14:11:33 -05:00
Jonathan Sadowski
3f05bdb90a
Fix typo on git workflow description and filename
2022-04-04 13:29:44 -05:00
Jonathan Sadowski
28c31b7c38
Move changelogger-specific workflow to a linting workflow for monorepo
2022-04-04 13:23:12 -05:00
Jamel Noel Reid
8812feedaa
Merge pull request #32419 from woocommerce/e2e/db-healthcheck
...
Only start PHP containers after a successful healthcheck against DB
2022-04-04 04:09:24 -05:00
Jonathan Sadowski
b997f18dd8
Add newline to EOF
2022-04-01 13:12:16 -05:00
jonathansadowski
d062f2e5fa
Merge pull request #32366 from woocommerce/action/template
...
Add GH action to request template
2022-04-01 09:00:02 -05:00
Lucas Bustamante
c4fede5c43
Wait as part of the up process
2022-04-01 14:32:50 +01:00
Lucas Bustamante
d6a37a490e
Merge branch 'trunk' into e2e/db-healthcheck
2022-04-01 11:53:55 +01:00
Jonathan Sadowski
2c4e373192
Fix github action and correct error in detecting change file
2022-03-31 21:53:12 -05:00
Jonathan Sadowski
e87cd7128b
Add github workflow
2022-03-31 21:24:22 -05:00
rodelgc
989f50daa3
GH Action for generating reports in CI ( #32375 )
...
Added: CI job to upload API test reports on PR events.
2022-04-01 10:24:09 +08:00
jamelreid
ecb10f3908
Moved workaround step
2022-03-31 17:55:14 -05:00
jamelreid
b99f0c6958
Removed unnecesssary installs
2022-03-31 17:33:28 -05:00
jamelreid
03d58e911d
Changed docker up order
2022-03-31 17:08:52 -05:00
jamelreid
1b0405d81e
Changed docker up order
2022-03-31 16:53:27 -05:00
jamelreid
f381d6a583
Moved wait to docker up step
2022-03-31 14:07:17 -05:00
jamelreid
470ab7786e
Added wait for api tests
2022-03-31 12:24:43 -05:00
roykho
f08f58e241
Add additional checks for a label and targetting trunk
2022-03-31 06:41:18 -07:00
Moon
9e1d11abdf
Merge pull request #32409 from woocommerce/fix/code-coverage
...
Fix broken code coverage
2022-03-29 22:14:04 -07:00
Chi-Hsuan Huang
0be52342b7
Merge pull request #32372 from woocommerce/add/test-lint-js-action
...
Add lint-test JS Github action
2022-03-30 10:23:50 +08:00
moon
6faba12094
Increase code coverage job timeout to 20 mins
2022-03-29 17:27:07 -07:00
Barry Hughes
a98aa9c910
Merge pull request #32112 from woocommerce/bump-required-php-to-7.2
...
Bump WooCommerce minimum required PHP version to 7.2
2022-03-29 09:03:42 -07:00
louwie17
59c4bf0831
Merge pull request #32389 from woocommerce/dev/32355_add_screenshot_artifact
...
Add archive E2E screenshots step for E2E tests task
2022-03-29 08:50:23 -03:00
Nestor Soriano
25bf59d5e7
Merge branch 'trunk' into bump-required-php-to-7.2
2022-03-29 10:45:07 +02:00
Chi-Hsuan Huang
9a4138846d
Add a empty line between steps for pr-project-label.yml
2022-03-29 16:43:19 +08:00
Chi-Hsuan Huang
71350b4e8b
Change script lint:js:packages to lint:js-packages
2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang
adf11a9801
Add action name for pr-lint-test-js.yml
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
025774d0c8
Update lint test action steps
...
Fix lint command
Update step name
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
4baad1a6e3
Add pr-lint-test-js.yml and remove package-js-api.yml, js_lint_test.sh
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
eb4c0a751e
Add Cancel Previous Runs step to pr-* github actions
2022-03-29 11:53:58 +08:00
RJ
fd3b73d46f
Merge pull request #32373 from woocommerce/dev/remove-wca-from-issue-template
...
Removed separate WCA entry in .github issue template contact_link
2022-03-29 10:40:26 +08:00
Christopher Allford
14e852b4b2
Merge WooCommerce Admin Unit Tests ( #32287 )
...
This folds the unit tests from WooCommerce Admin into the core test suite, enabling them to run.
2022-03-28 12:53:33 -07:00
Lourens Schep
0fd9aa2466
Remove unsupported working-directory param
2022-03-28 13:31:34 -03:00
Lourens Schep
259bb44f99
Move uses param up to solve workflow parse error
2022-03-28 13:28:37 -03:00
Lourens Schep
aea8e95692
Update if condition
2022-03-28 13:23:15 -03:00
Lourens Schep
35acdfc081
Add archive E2E screenshots step for E2E tests task
2022-03-28 13:13:43 -03:00
RJ
75c3f140ed
Removed separate WCA entry in issue template contact_link
...
Misleading, now that WCA is in this repo
2022-03-28 15:30:13 +08:00
roykho
07aa05bc16
Add GH action to request template
2022-03-25 09:37:06 -07:00
Claudio Sanches
9448982f5f
Merge pull request #32324 from woocommerce/fix/action-label
...
Make sure the reply is from issue author before triggering
2022-03-25 00:42:00 -03:00
Nestor Soriano
819494f2ed
Bump WooCommerce minimum required PHP version to 7.2
...
This includes:
- Changing "Requires PHP" in woocommerce.php
- Changing "require-php" and "config-platform-php" in composer.json
- Bumping pelago/emogrifier to ^6.0 in composer.json
- Bumping maxmind-db/reader to ^1.6 in composer.json
- Bumping composer/installers to ^1.9 in composer.json
(bump to 2.0 not possible due to conflict with Admin package)
- Removing jobs for 7.0/.1 unit test runs in CI
- Explicitly specifying the PHPUnit version to be 7.5,
otherwise it will install v8 which isn't compatible with
WordPress <5.9
2022-03-24 14:08:11 +01:00
Chi-Hsuan Huang
a720ccb42a
Add "Build Admin feature config" step to ci.yml
2022-03-24 14:00:43 +08:00
roykho
d346630747
Make sure the reply is from issue author before triggering
2022-03-22 08:53:16 -07:00
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
Barry Hughes
ca42736336
Merge pull request #30433 from woocommerce/update/min-wp
...
Set "Requires at least" to WP 5.6, update testing matrix.
2021-08-09 11:30:27 -07:00
Claudio Sanches
37068f198f
Improve continue on error
2021-08-09 13:55:53 -03:00
Claudio Sanches
175cc34ee7
Allow failures for WP nightly unit tests
2021-08-09 13:41:53 -03:00
Claudio Sanches
9a9a855701
Update conditional
2021-08-09 13:22:01 -03:00
Claudio Sanches
ef9f511387
Run composer update for wp nightly
2021-08-09 13:00:29 -03:00
Ron Rennick
9892fe6f43
filter out enhancement requests from stalebot
2021-08-09 12:42:26 -03:00
Claudio Sanches
4fea3f4dc1
Update unit test WP matrix
2021-08-09 12:33:39 -03:00
Greg
8ccbbab8ab
Added admin email config override
2021-08-05 19:39:30 -06:00
Nestor Soriano
6fb769bc9d
Refactor the PR post-merge processing GitHub action
...
Common code has been extracted to a "post-request-shared.php" script.
2021-08-03 11:33:33 +02:00
Nestor Soriano
b3617a3115
Extend post-merge GH action to add a comment suggestion next steps.
2021-08-03 10:07:24 +02:00
roykho
bdbd97fa9d
Add task instructions for the PR reviewer
2021-07-30 10:02:16 -07:00
Nestor Soriano
9ffddbac1f
Use 'pull_request_target' in the automatic milestoning action
...
The original event used, 'pull_request', runs in the context of the
pull request. In the case of pull requests created from forks this means
that a read-only GitHub token is used for API calls, and thus the
call used to assign the milestone fails.
The fix is using the 'pull_request_target' event, which runs in the
context of the base branch, and thus with a read-write token. See:
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target
Also, added a warning message when no milestone without a release
branch is found and thus the newest existing milestone is assigned
(this is a fallback that should normally not happen).
2021-07-29 16:47:27 +02:00
Nestor Soriano
68fcfa9cf6
Add logging to the GH action for assigning a milestone to merged PRs
...
If the GH API call to assign the milestone to a merged PR returns an
error, the data returned from the call will be dumped to the console,
and thus will be readable by looking at the action execution log.
2021-07-28 15:20:16 +02:00
Greg
d062a76a2c
Code review feedback
2021-07-21 10:22:50 -06:00
Greg
f31693aaec
Add in env flag
2021-07-20 15:26:51 -06:00
Greg
17eb1ddd22
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow
2021-07-20 13:57:04 -06:00
Greg
268c07118e
Added plugin upload functionality
2021-07-15 14:39:32 -06:00
Martin Winkel
9467260e5f
fixed a typo in the bug issue template of github
2021-06-30 17:10:10 +02:00
Ron Rennick
7806ea2b5d
update remove stale on comment ( #29882 )
...
* remove the stale label when feedback is provided
* remove labels in separate steps
2021-05-13 14:25:14 +02:00
Ron Rennick
1ba0e6d382
update stale to Stale in feedback label CI ( #29871 )
2021-05-10 17:19:06 +02:00
Ron Rennick
afa1ba573d
remove local container from smoke test ( #29828 )
2021-05-10 15:49:32 +02:00
Ron Rennick
bcebdad06d
remove the stale label when feedback is provided ( #29829 )
2021-05-10 15:08:46 +02:00
Vedanshu Jain
09798c081c
Merge pull request #29699 from woocommerce/add/github-action-to-auto-assign-milestone
...
Add a GitHub action for automatic assignment of a milestone to merged PRs
2021-04-19 18:25:30 +05:30
Néstor Soriano
3ada9fc562
Change GH API query for milestones to get only the open ones.
...
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2021-04-19 14:46:45 +02:00
Néstor Soriano
5da39b4ff0
Enclose action step name in double quotes for consistency.
...
Co-authored-by: Leif Singer <git@singer.sh>
2021-04-16 15:48:38 +02:00
Nestor Soriano
b09ddd7984
Add a GitHub action to manually trigger the generation of a release zip file
2021-04-16 13:06:49 +02:00
Nestor Soriano
a0c965964b
Add a GitHub action for automatic assignment of milestone to merged PRs
...
The milestone is chosen as follows:
1. List all the open milestones with a title of "X.Y.Z"
2. Sort them desc using verson_compare
3. foreach them in order, and take the last one not having a
corresponding release branch ("release/X.Y")
2021-04-15 17:16:00 +02:00
Greg
b19500728b
Merge pull request #29653 from woocommerce/fix/28485
...
Enable smoke test
2021-04-14 16:09:26 -06:00
Ron Rennick
07f72c80b4
fix spacing
...
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2021-04-13 08:25:22 -03:00
Ron Rennick
a88bc666de
enable smoke test
2021-04-12 13:32:38 -03:00
Ron Rennick
cea88305a7
enable stalebot
2021-04-12 10:55:30 -03:00
Ron Rennick
af698acc8e
Merge pull request #29509 from woocommerce/add/feedback-label-action
...
add contributor feedback label action
2021-04-07 22:55:20 -03:00
Ron Rennick
1affe03ac6
add conditions for github actions and open issues
2021-04-07 17:25:26 -03:00
Greg
6d02a3d375
Merge pull request #29600 from woocommerce/fix/smoke-test-schedule
...
Fix tranposed cron schedule
2021-04-06 07:59:41 -06:00
Ron Rennick
1f919d3681
fix tranposed cron schedule
2021-04-06 08:18:45 -03:00
Ron Rennick
6f80b55617
fix transposed cron schedule, change process order
2021-04-05 18:16:12 -03:00
Greg
5aeafe56eb
Merge pull request #29571 from woocommerce/add/smoke-test-daily
...
add smoke test daily log in
2021-04-05 13:32:22 -06:00
Ron Rennick
9355c92231
add smoke test daily log in
2021-04-01 21:55:38 -03:00
Ron Rennick
3096014057
fix typo in stalebot parameter name
2021-04-01 14:54:59 -03:00
Ron Rennick
85893dd018
Merge branch 'trunk' into add/feedback-label-action
2021-04-01 14:47:57 -03:00
Ron Rennick
18c500c24f
add contributor feedback label action
2021-03-26 16:33:44 -03:00
Ron Rennick
214ca384ea
add stalebot action with dry run enabled
2021-03-26 14:29:53 -03:00
Claudio Sanches
dd57663274
Merge pull request #29371 from woocommerce/add/trigger-code-reference-update
...
Update code reference after release build is done
2021-03-24 18:39:02 -03:00
Néstor Soriano
886cd15016
Merge pull request #29378 from woocommerce/fix/code-sniff
...
Remove Travis and fix CI in GitHub Actions
2021-03-23 15:22:49 +01:00
Claudio Sanches
599f2e95ca
Stop nightly builds in forks.
...
Nightly builds workflow requires a GitHub release ID that doesn't exists
in forks, making it to always fail.
2021-03-15 21:44:01 -03:00
Ron Rennick
7759e3a16d
unpin WP version in E2E test run
2021-03-15 13:43:15 -03:00
Claudio Sanches
4e893022a0
Fixed Codecov integration and moved into a new step
2021-03-13 22:08:46 -03:00
Claudio Sanches
16823082aa
Removed Travis
2021-03-13 21:58:42 -03:00
Claudio Sanches
87a18620eb
Added workflow to run CI in trunk and release/** branches
2021-03-13 21:29:15 -03:00
Claudio Sanches
75ed94bd38
Fixed PHPCS run and added cs2pr support
2021-03-13 21:01:21 -03:00
Claudio Sanches
e0040a1a4e
Remove mysql from code sniff workflow
2021-03-13 19:42:06 -03:00
Claudio Sanches
7c23eb1e33
Update code reference after release build is done
2021-03-12 23:17:27 -03:00
Ron Rennick
698fdc3712
Merge branch 'trunk' into try/add-e2e-screenshot
2021-03-12 12:00:24 -04:00
Ron Rennick
874748cf20
pin ubuntu to 18.04 for port 8084
2021-03-12 09:39:44 -04:00
vedanshujain
934243d8bd
Remove node_modules caching to prevent dir related errors.
2021-03-12 09:54:37 +05:30
Ron Rennick
cad8ae3413
temporarily pin WP version to 5.6.2
2021-03-11 15:27:46 -04:00
Ron Rennick
ac94f70a16
update secret names with E2E_
2021-03-10 14:51:18 -04:00
Ron Rennick
bb907a6acd
add slack secrets, deliberately break test
2021-03-09 16:11:48 -04:00
Ron Rennick
4c88973039
add slack channel support
2021-03-08 19:22:55 -04:00
vedanshujain
a53bb20a62
Disable comment workflow since it fails on fork.
2021-03-01 17:35:49 +05:30
Claudio Sanches
d6e3cf6de9
Update default GIT branch
2021-02-25 20:51:14 -03:00
barryhughes
4a78f13958
Spacing
2021-02-16 12:43:18 -08:00
barryhughes
97c4e42610
Correct the external packages list (remove REST API, add WC Admin) | spotfix
2021-02-16 12:40:27 -08:00
vedanshujain
eefb3a4c0d
Yoda notation, you must not follow.
...
Syntax will fail, for GH actions.
2021-02-16 13:23:27 +05:30
vedanshujain
f31befd6fe
Whitespace change to trigger tests.
2021-02-16 13:14:08 +05:30
vedanshujain
4a39b00a2e
Run build action only for WC PRs because forks wont have permission to post comment.
2021-02-09 16:20:00 +05:30
vedanshujain
8963755442
Use bash instead of sh
2021-02-09 16:15:48 +05:30
vedanshujain
3e0fc5e89b
Add CI for code coverage and code sniff on GitHub actions.
2021-02-09 16:09:56 +05:30
vedanshujain
dc865bc94d
Renamed file name to be more accurate.
2021-02-01 09:56:51 +05:30
vedanshujain
d6d1e6a473
More strict cache keys.
2021-01-29 17:19:29 +05:30
vedanshujain
64b066eb22
Convert logic from string to bool to see if that works.
2021-01-29 16:45:14 +05:30
vedanshujain
bc4228ae7f
Add caching for node modules.
2021-01-29 16:32:34 +05:30
vedanshujain
783cb4b63c
Add action for running e2e tests.
2021-01-29 16:26:03 +05:30
Claudio Sanches
615bcfdbc2
Fixed repository URL
2021-01-22 00:18:07 -03:00
Claudio Sanches
bac26b82b9
Fixed params
2021-01-21 23:54:00 -03:00
Claudio Sanches
56ee106f34
Add new message
2021-01-21 23:49:33 -03:00
Claudio Sanches
64f9b8e4b5
Introduced "add comment" step to pr-build workflow
2021-01-21 22:51:15 -03:00
vedanshujain
cf6cf3a35e
Split builds into different files.
2021-01-21 17:35:12 +05:30
Vedanshu Jain
06c8fb0c45
Adds a workflow to be triggered when a PR is creted/updated:
...
1. Build a zip file for that PR.
2. Migrate all unit tests from Travis to Github Actions.
2021-01-21 17:30:12 +05:30
Peter Fabian
75754d5281
Update CONTRIBUTING.md
...
Fixed the link to GH ideas board.
2020-12-18 12:28:50 +01:00
Renovate Bot
9c60fdd382
Update richardsimko/github-tag-action action to v1.0.5
2020-11-06 10:34:18 +00:00
Claudio Sanches
e3b7ed1c75
Merge pull request #28015 from woocommerce/renovate/webfreak001-deploy-nightly-1.x
...
Update WebFreak001/deploy-nightly action to v1.1.0
2020-10-20 11:44:21 -03:00
Renovate Bot
fc1f55dd20
Update richardsimko/github-tag-action action to v1.0.4
2020-10-20 14:13:50 +00:00
Renovate Bot
57b94db15c
Update WebFreak001/deploy-nightly action to v1.1.0
2020-10-20 14:13:41 +00:00
Claudio Sanches
84a828f813
Added Action Scheduler to about text
2020-09-17 12:07:20 -03:00
Claudio Sanches
82a9530b4e
Remove REST API repo link and introduce some new repos
2020-09-08 13:49:37 -03:00
Claudio Sanches
079572ae50
woocommerce/action-build@v2 always build a zip file
2020-08-25 15:07:15 -03:00
Claudio Sanches
59fbab9a42
Updated woocommerce/action-build in nightly builds
2020-08-25 13:42:07 -03:00
Claudio Sanches
4e15abbf53
Updated woocommerce/action-build to v2
2020-08-25 13:41:24 -03:00
Claudio Sanches
d3f9202c73
Merge pull request #26315 from woocommerce/add/nightly-builds-workflow
...
Introduces nightly builds workflow
2020-07-01 14:38:01 -03:00
Tam Mullen
8f8b8a0cf2
Updating Security Issue Template
2020-06-15 11:41:00 +01:00
Tam Mullen
8d21028ebf
Updated GitHub issue templates to include more details of the information we require.
2020-06-14 21:35:05 +01:00
Claudio Sanches
9b626d6131
Updated build package name
2020-04-29 13:36:25 -03:00
Claudio Sanches
c5eb5545ea
Updated build package name
2020-04-29 13:35:11 -03:00
Claudio Sanches
5c2bf5f2b4
Make sure the zip file is called woocommerce.zip
2020-04-28 11:52:16 -03:00
Claudio Sanches
d3b990d7b2
Updated zip name
2020-04-28 11:51:10 -03:00
Claudio Sanches
e6e16bee11
Introduced nightly builds workflow
2020-04-27 23:32:19 -03:00
Claudio Sanches
5dc20e9fc8
Introduced build release workflow
2020-04-27 20:09:29 -03:00
Rodrigo Primo
c08c522dd8
Add link to naming conventions wiki page
2019-12-20 10:02:49 -03:00
Rodrigo Primo
e5f8213149
Update name of the label used to indicate issues good for external contributors
2019-11-18 16:30:21 -03:00
Rodrigo Primo
bb4ded8324
Update links to bug report and feature request issue templates
...
The name of the bug report and feature request issue templates was
changed in #24844 . This commit updates two places where links pointing
to those templates were outdated.
2019-10-17 16:28:01 -03:00
Rodrigo Primo
8e64e10802
Rename issue template files to change their display order
...
Most important changes are:
- Making sure that the template for security issues is displayed first
- Moving the template for support requests from the bottom to before bug reports hoping that this will decrease the number of support requests that we get.
2019-10-16 11:13:11 -03:00
Rodrigo Primo
1212cb9093
Add missing space between emoji and issue template title
2019-10-16 11:09:56 -03:00
Rodrigo Primo
993e79f63b
Add a new section to the issues page for external issues
...
This commit adds a new section to the issues page for external issues
asking users to report WooCommerce REST API and WooCommerce Gutenberg
Product Blocks issues on their respective repositories.
2019-10-16 11:08:16 -03:00
Rodrigo Primo
14fa191322
Replace "several" with "many" in the first sentence
2019-08-01 11:43:48 -03:00
Rodrigo Primo
2773fd082c
Remove WooCommerce market share from the CONTRIBUTING.md file
2019-08-01 11:09:48 -03:00
Rodrigo Primo
66a365edcd
Add sentence about the `help wanted` label
2019-07-31 09:35:51 -03:00
Rodrigo Primo
ab35e2968b
Fix links that point to the internal wiki
2019-07-31 09:26:16 -03:00
Rodrigo Primo
b8d50dc5b7
Add link to the WooCommerce Git Flow page in the "Getting started" section
2019-07-31 09:21:58 -03:00
Rodrigo Primo
cef6d4744d
Improve paragraph about the process to contribute code to WC core
2019-07-31 09:07:51 -03:00
Rodrigo Primo
387ee9c20b
Fix GPL version
2019-07-31 09:05:12 -03:00
Rodrigo Primo
e0541fc2d1
Reorganize CONTRIBUTING.md
2019-07-26 16:45:26 -03:00
Rodrigo Primo
896f1391f0
Remove section about the build process
...
This is already covered in the document about how to set up a
development enviroment.
2019-07-26 15:20:10 -03:00
Rodrigo Primo
b0fef8e8ef
Move Translating WooCommerce section to its own page
...
https://github.com/woocommerce/woocommerce/wiki/Translating-WooCommerce
2019-07-26 15:19:25 -03:00
Rodrigo Primo
b18135fd3c
Consolidate info about support on the README.md file
...
This commit removes duplicated information about support from
CONTRIBUTING.md and consolidates it in README.md.
2019-07-26 14:59:49 -03:00
Mike Jolley
c928188831
Update from master
2019-07-10 12:57:02 +01:00
Claudio Sanches
5b376cf771
Updated build process description
2019-07-08 17:46:27 -03:00
Claudio Sanches
2f0d7b2a41
Updated CONTRIBUTING.md to reflect new build process
2019-07-08 17:42:22 -03:00
Mike Jolley
3b974da08f
Update readme and contributing docs
2019-06-26 17:20:47 +01:00
Tung Du
46ee4cbc5f
Fix some grammar issues
2019-04-01 18:15:59 +07:00
Peter Fabian
bf7571cc5b
Update -----security-issue.md
...
Added more direct link to Automattic's HackerOne.
2019-03-04 09:16:28 +01:00
Peter Fabian
26af79c8d7
Update issue templates
...
Added 'template' for security issue.
2019-03-04 09:12:19 +01:00
Rodrigo Primo
65356ae147
Revert "Delete old ISSUE_TEMPLATE.md"
2018-10-17 16:27:27 -03:00
Айрат Халитов
7aa730dfac
Delete ISSUE_TEMPLATE.md
2018-09-29 03:54:27 +05:00
Jeremy Pry
2346183501
Include explicit mention of PHP 5.2 requirements
2018-06-08 13:23:58 -04:00
Jeremy Pry
2a1ed2c1cb
Update the WP Coding Standards link
2018-06-08 11:31:45 -04:00
Mike Jolley
217fe4bd69
Update Feature_request.md
2018-05-09 20:54:38 +01:00
Mike Jolley
cd7c3829ca
Update CONTRIBUTING.md
2018-05-09 12:20:46 +01:00
Mike Jolley
ce17349792
Update CONTRIBUTING.md
2018-05-09 11:40:21 +01:00
Mike Jolley
9497826f79
Create Enhancement.md
2018-05-08 23:27:40 +01:00
Mike Jolley
0cc502948e
Rename Custom.md to Support.md
2018-05-08 23:24:37 +01:00
Mike Jolley
23582076b2
Update issue templates
2018-05-08 23:23:58 +01:00
Mike Jolley
33c75fb1c2
Wording tweaks and removed the type of change section
2018-04-19 10:45:03 +01:00
Claudio Sanches
55eee758d7
Prerequisites description
2018-04-18 19:24:14 -03:00
Claudio Sanches
8c52a6ab48
Introduced Pull Request template
2018-04-18 19:20:20 -03:00
Govind Kumar
6dc55a3c11
Updated support url
2018-02-23 01:44:14 +05:30
Mike Jolley
67c07a3314
Update ISSUE_TEMPLATE.md
2018-02-15 11:28:14 +00:00
Claudio Sanches
7cfdab7793
Grammar fix
2017-09-28 14:27:11 -03:00
Claudio Sanches
24eb7d33dd
Added note about pre-commit hook and EditorConfig
2017-09-28 11:52:48 -03:00