Commit Graph

52 Commits

Author SHA1 Message Date
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
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
37d9bc5d0c Replace styles fixing with styles checking
[MAILPOET-4550]
2022-10-03 11:16:21 +02:00
3d4ca982a6 Update Woo COT build in test to the latest beta
[MAILPOET-4572]
2022-09-21 10:49:10 -03:00
65a6edff16 Add integration test job running woo tests with COT enabled
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
ebdeabaccf Add option to disable COT Synchronization into integration and acceptance tests
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
be9643515e Add option for toggle COT in integration and acceptance tests
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
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
910ded0f30 Add temporary command for downloading WooCommerce build with COT
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
5984c1be04 Add a command to calculate number of pull requests 2022-09-09 11:02:50 +02:00
f05a7367ef Add shortcuts for Woo integration tests and base integration test to Robo
./do test:woo-integration - runs test from Woo group with and activate plugins
./do test:base-integration - runs test without Woo group with and doesn't activate plugins
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
8d564a52f1 Add option for skipping 3rd party plugins activation in integration tests
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
08d970a94b Add support for group to integration test robo command
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
a377f0c946 Do not limit memory for CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
6a6d11ccdb Fix ignore patterns for CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
2e6248b63b Run scripts using pnpm
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
c41ab7464c Make mailpoet a pnpm workspace
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
c83a3b7d8d Use pnpm in the monorepo root
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
a32af0c103 Fix Shop project 2022-06-21 13:17:45 +02:00
57937c71a0 Display number of reviews 2022-06-21 13:17:45 +02:00
0d4048b682 Remove WordPress from build process
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
d15be7555c Add hbs and txt files
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
afb03bd83f Add twig:generate-cache command
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
e56e2db9ef Update release script to use trunk instead of master
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
77d46d9a1b Remove memory limit when building translations 2022-05-18 15:27:29 +02:00
e4886cf812 Update Doctrine before running tests
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
393154e080 Adjust used Docker container to run integration tests
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
c50715698c Run cache cleanup command within do install command
Changes introduced in new versions of packages often cause incompatibility issues in generated and cached files.
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
51e67dca73 Add do command for cleaning up generated and cached files
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
ba322bc078 Add Robo commands for prettier
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
b5530bad70 Install repo root dependencies in ./do install
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
f38443f82e Fix minor error in logic to create lang dir
This commit fixes a small error in the logic to create the lang dir
inside the Robo command to get the mailpoet.pot file from the CircleCI
build.

The old code would always return false and thus ways try to create the
directory mailpoet/lang as the path 'mailpoet/lang' is not a file and it
is wrong. To fix this problem `is_file()` was replaced with
`file_exists()` and the correct path was passed to the function (__DIR__
. '/lang' instead of 'mailpoet/lang').

[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
05c3c68c56 Remove references to CircleCI from command to get the .pot file
This commit removes references to CircleCI from the command that gets
the .pot file from the CircleCI release build. I'm doing this based on
review feedback in case in the future we decide to get the .pot file
from a different source.

[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
8e0283b4dd Update release:publish to use mailpoet.pot file from CircleCI
This commit changes the Robo command release:publish to use the
mailpoet.pot file that is present in the zip file in the release branch
of the CircleCI build. Before we were using the mailpoet.pot file
present in the local repository, which meant it could contain undesired
local changes that should not be included when creating a new MailPoet
release.

A new Robo command was created to get the zip file from CircleCI called
translations:get-pot-file-from-circle-ci. The old translations:build was
preserved as it is used inside mailpoet/build.sh.

[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
f4b040d8ff Fix two minor sniff warnings
WordPress.NamingConventions.PrefixAllGlobals.DeprecatedWhitelistCommentFound
WordPress.WP.DeprecatedParameters.Load_plugin_textdomainParam2Found
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
d0822be924 Remove translations:pack command
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
2ba8d15c6a Pass transifex token using env variable
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
2322ec909c Use new Transifex CLI
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
66243f246b Allow PHPStan cache
[MAILPOET-4055]
2022-03-09 14:11:03 +01:00
4e4352187a Revert "Remove translations:pack command"
This reverts commit af76206d19.
2022-02-16 12:49:35 +01:00
af76206d19 Remove translations:pack command
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
4ce1c4f4e6 Use WPOrgDownloader for WC blocks downloading
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
2aa2c39b1c Add command for downloading WC Blocks plugin
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
897c9bbd8c Add tests for MailPoetDate.isInFuture and fix test eslint issues
- Convert date.js to typescript and define types
- Fix test script to include ts tests as well
- Make eslint for ts tests work correct and recognize mocha

[MAILPOET-4023]
2022-02-09 16:32:26 +01:00
4d6fd85007 Add install npm eslint dependencies
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
73f735ecaa Use moved eslint configuration files
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
wxa
46a9baba1d Add tests
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
824b4566d3 Add comment about files to exclude on qaLintBuild
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
63bb2e1a86 Add vendor and vendor-prefixed files to 7.4 lint
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
a3ef6f8f0d Ensure lang directory exists when building translations
[MAILPOET-3919]
2022-01-18 15:30:22 +01:00