Commit Graph

93 Commits

Author SHA1 Message Date
Rodrigo Primo
560e388702 Bump min and max PHP versions when running PHPCS
[MAILPOET-4939]
2023-05-17 17:35:41 +03:00
Jan Jakes
7b082353f5 Run CodeSniffer in multiple processes
[MAILPOET-5335]
2023-05-16 10:38:49 -05:00
alex-mailpoet
f12bb8e680 Run Semgrep check on build
[MAILPOET-5230]
2023-04-26 10:01:51 +02:00
Rodrigo Primo
a3cf1daeae Remove code coverage code as it is not used anymore
[MAILPOET-2440]
2023-04-20 16:21:34 +02:00
John Oleksowicz
520e7166cf Don't stop on first failure
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Veljko
c8c88a8704 If there is no k6 cloud token set in env dont stream to cloud
[MAILPOET-5196]
2023-04-07 15:45:50 +02:00
Veljko
f994d1b232 Streamline test results output to k6 cloud
[MAILPOET-5196]
2023-04-07 15:45:50 +02:00
Veljko
97848a42f5 Update RoboFile with PW 2023-04-05 11:32:08 +02:00
Veljko
59cb38a986 Remove duplicated code 2023-04-05 11:32:08 +02:00
Jan Jakes
eca4e2104a Cache mysql volume for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
6141e4a57a Download and import data for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Veljko
06874645c7 Add nightly testing and update CircleCI and RoboFile
[MAILPOET-4954
2023-03-30 11:03:28 +02:00
Jan Jakes
30f5a48b9d Use the new ESLint config for ./do qa:fix-file
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
0cb684151f Use JS ESLint configs instead of JSON
This is to avoid ERR_IMPORT_ASSERTION_TYPE_MISSING on recent Node.js with updated ESLint.
Fixes errors like the following: ".eslintrc.es6.json" needs an import assertion of type "json"

[MAILPOET-5061]
2023-03-27 15:24:38 +02:00
Sam Najian
ba619fb7ac Exclude irrelevant files from being parsed for translations
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
cac89e472a Adjust translations:build command to use wp from vendor dir
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
005c5196c9 Fix memory issue when building translations
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
e21cc48dc2 Add vendor/soundasleep back to RoboFile::qaLintBuild
Update it so that it's added from vendor-prefixed

[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Sam Najian
7185d1286e Update traces of vendor/soundaslee in Robofile
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
alex-mailpoet
0cbe4fa9fd Add AutomateWoo opt-in acceptance test
[MAILPOET-5057]
2023-03-06 11:22:58 +01:00
Jan Jakes
f826ce52d6 Upgrade to k6 v0.43.1
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Jan Lysý
506f07ce36 Use merge command in release:publish
[MAILPOET-3987]
2023-02-21 15:58:19 +01:00
Jan Lysý
f4d8c7acd8 Add command for merge pull request
[MAILPOET-3987]
2023-02-21 15:58:19 +01:00
Veljko
d87794aa1f Reorder tests structure
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
Veljko
e22ffcb5e3 Establishing k6 into mailpoet env
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
David Remer
f58b5e61b0 Use new ruleset for free plugin
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
Jan Jakes
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
293eef2c78 Add MinimalPluginStandard to Robofile
./do qa:minimal-plugin-standard will not execute the MinimalPluginStandard phpcs sniffs
./do qa:php has been extended to include the sniffs as well

[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
Jan Lysý
8dd80ce0f2 Fix the circle rerun command output
[PREMIUM-207]
2022-11-18 16:05:18 +01:00
Jan Lysý
e45510e064 Add rerunning premium workflow into the prepare command
[PREMIUM-207]
2022-11-18 16:05:18 +01:00
Jan Lysý
bfafff132a Make the project parameter optional
[PREMIUM-207]
2022-11-18 16:05:18 +01:00
Jan Lysý
d6748fe979 Add command for rerunning circle workflow
[PREMIUM-207]
2022-11-18 16:05:18 +01:00
Jan Jakes
f369fdfa4a Add ./do migrations:new command to generate migration files
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
Jan Jakes
dd10389c55 Implement WP CLI command to show migrations info
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
Jan Jakes
3dd6ef3da7 Implement WP CLI command to run migrations
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
Rodrigo Primo
65b56271d4 Update Woo HPOS build in test to the latest version
The latest version is 7.1.0-rc.2. Since this build is available on
WP.org, this commit also removes the custom code that we had to download
builds from GitHub. We can now use \RoboFile::downloadWooCommerceZip()
to download builds to test Woo HPOS.

[MAILPOET-4704]
2022-11-04 10:39:59 +01:00
Jan Jakes
4c65374a0c Add some POT file headers that we've been using
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
01eb59a295 Keep only the part of the old makepot logic that is required for HTML and HBS files
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
eb80adc2ed Extract translations from PHP and JS/TS files using WP CLI
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
3103ef11d5 Use old translation extraction logic only for HTML and HBS files
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
a1ead743fa Complete translation directory exclusion list, make it more readable
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Rodrigo Primo
7521dbd1ef Update Woo COT build in test to the latest version
The latest version is 7.0.0-hpos.dev.7

[MAILPOET-4691]
2022-10-11 07:23:37 +02:00
Rodrigo Primo
db0a8bee0f Update Woo COT build in test to the latest version
The latest version is 7.0.0-hpos.dev.4

[MAILPOET-4691]
2022-10-04 09:26:11 +02:00
Jan Lysý
37d9bc5d0c Replace styles fixing with styles checking
[MAILPOET-4550]
2022-10-03 11:16:21 +02:00
Rostislav Wolny
3d4ca982a6 Update Woo COT build in test to the latest beta
[MAILPOET-4572]
2022-09-21 10:49:10 -03:00
Rostislav Wolny
65a6edff16 Add integration test job running woo tests with COT enabled
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
ebdeabaccf Add option to disable COT Synchronization into integration and acceptance tests
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
be9643515e Add option for toggle COT in integration and acceptance tests
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
82218ca48c Add ./do reset:test-docker command
We already have a similar command ./do delete:docker which removes everything
related to docker for test environment including images.
This is an overkill in case one wants to do just basic cleanup of container and volumes e.g. to allow
activation of a different version of WooCommerce
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
910ded0f30 Add temporary command for downloading WooCommerce build with COT
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00