Pavel Dohnal
1a0fecf2db
Rename docker-compose to docker compose
...
[MAILPOET-6233]
2024-09-18 07:52:26 +02:00
Jan Jakes
ce526e84e0
Do not set MySQL platform autoamtically, enable auto-detection
...
This will enable correct detection of MySQL vs MariaDB platform in Doctrine,
as well as they particular versions, such as 5.7 or 8.4, etc.
[MAILPOET-6232]
2024-09-17 09:37:58 +02:00
alex-mpoet
5f8a10b5d2
Add QIT security scan job to CI
...
[MAILPOET-6149]
2024-08-29 18:03:42 +02:00
Jan Lysý
a14849cea2
Remove command for minimal plugin standard
...
Because we used outdated WP coding standard we had reported errors about new WPDB placeholder %i.
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
alex-mpoet
7ebcf324a6
Update code for the new cron-expression package
...
[MAILPOET-6167]
2024-08-26 14:52:05 +02:00
Jan Jakes
4531ae9e60
Use WPDB driver for Doctrine
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Lysý
b61d7f7b22
Add default value for only-tests parameter
...
The default value in the compile:all command was missing, which caused an error.
[MAILPOET-6178]
2024-08-06 13:31:15 +02:00
Jan Lysý
784d7c1189
Move building Newsletter tests to their job
...
[MAILPOET-6178]
2024-08-05 12:31:08 +02:00
Jan Lysý
b36b857891
Fix passing version to verify command
...
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
685b5f835c
Use verify and delete zip in publish command
...
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
d9b524f08f
Add new command verifying release zip
...
The command should verify containing the required version in the ZIP file.
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
e781843c6b
Add new command for deleting old release zip
...
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
ccc922548b
Rename test parameter from LATEST_BETA to WORDPRESS_VERSION
...
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Jan Lysý
22584747a0
Move tests docker configuration
...
Because we want to unify tests environment in the premium plugin. This step should allow us to reuse it easier.
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Rostislav Wolny
261b50fe38
Remove Storybook from configs
...
[MAILPOET-6110]
2024-06-28 12:56:38 +02:00
Rostislav Wolny
0fa4f62aeb
Remove storybook commands
...
[MAILPOET-6110]
2024-06-28 12:56:38 +02:00
Jan Lysý
55194bc9c8
Add integration tests using WordPress beta
...
[MAILPOET-6096]
2024-06-27 10:42:11 +02:00
Jan Lysý
f58959e760
Add acceptance tests using WordPress beta
...
The job runs only if the last version from WordPress feeds is beta
[MAILPOET-6096]
2024-06-27 10:42:11 +02:00
Rostislav Wolny
45335e8260
Remove already updated packages from ignore list in the update command
...
[MAILPOET-5490]
2024-06-27 08:44:03 +02:00
Rostislav Wolny
a55725838d
Update list of dependencies skipped by the update script
...
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
Rostislav Wolny
1d32461b3d
Workaround for the issue with chai v5 and ES modules
...
I couldn't make it work with the Babel loader. There is a possible
solution using ts-node as a loader. I didn't want to install another
package, so I chose a different workaround.
mocha-env.mjs is processed as a module thanks to the suffix, and it
sets chai. expect globally, and then I updated tests to use the global expect.
Please see https://github.com/chaijs/chai/issues/1568
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
Rostislav Wolny
73434e1ef7
Workaround for legacy newsletter editor tests after updating chai
...
Chain newly has to be imported as module and doesn't support CommonJs
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
Veljko
207d0b954c
Update RoboFile with new parameters and delete cot plugin
2024-05-06 14:45:09 +02:00
Jan Lysý
52c6f698c9
Add WP CLI command for creating testing email template
...
[MAILPOET-5971]
2024-04-22 10:32:47 +02:00
Mike Jolley
0d6fe6e5eb
Apply rules to tests and tasks
2024-03-21 16:57:59 +01:00
Rostislav Wolny
c39b498e59
Remove test dependency on WooCommerce Blocks
...
The plugin was integrated into WooCommerce Core and is no longer available for download.
[MAILPOET-5925]
2024-02-28 10:38:10 -06:00
Rostislav Wolny
bbc4a86759
Rename flag for skipping tests in webpack build
...
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
8ef77dbe58
Add support for skipping build of JS tests and skip when building zip
...
This commit addresses issue with insufficient resources on Circle CI
to avoid using larger executor instances.
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
veljko
305db25376
Update k6 to latest and improve running tests
2024-02-18 09:27:48 +01:00
John Oleksowicz
5d8d7adc08
Add command to install just PHP dependencies
...
MAILPOET-4237
2024-02-08 11:13:35 -06:00
alex-mpoet
a86f75a1e7
Update CodeSniffer ignores
...
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
Pavel Dohnal
06d7397c0d
Reset old plugins
...
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
Jan Lysý
0f58d5028b
Bump min PHP versions when running PHPCS
...
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
David Remer
2931af3547
Add command to create automation triggers
2023-10-09 10:06:56 +02:00
Jan Jakes
49dd627a76
Update references to renamed files
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
John Oleksowicz
40cbec0bf6
Create robo command to update JS dependencies
...
MAILPOET-4391
2023-10-02 10:00:28 +02:00
Veljko
22074731ed
Refactor all k6 tests and update RoboFile
2023-09-22 16:43:21 +02:00
Veljko
df83158dfb
Update k6 to latest version and update test suite
2023-09-22 16:43:21 +02:00
Jan Lysý
c3c10ff557
Remove JS compilation from JS newsletter tests
...
JS is compiled in the build job, so this steps seems to be redundant.
[MAILPOET-5571]
2023-09-06 11:19:20 +02:00
Rostislav Wolny
33e7e2d5f1
Fix typos in migration levels related strings
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
acd5846f70
Change migration level constants to lowercase
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
ec8b5260dd
Improve command for creating new migrations
...
Use required parameter instead of optional option
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
8454925e9a
Update functionality for generating new migrations to support levels
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
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