Skip to content

Commit 418d6a1

Browse files
authored
ci: remove wp-graphql-content-blocks from ci and tests (#431)
* ci: add "arguments-have-descriptions" for content-blocks * ci: install wp-graphql-content-blocks in docker * tests: disable testing WPGraphQL Content Blocks * chore: disable in codecept
1 parent bb5c02a commit 418d6a1

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

bin/_lib.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,6 @@ install_plugins() {
145145
fi
146146
wp plugin activate wp-graphql-upload
147147

148-
# Install WPGraphQL Content Blocks and Activate
149-
if ! $( wp plugin is-installed wp-graphql-content-blocks ); then
150-
wp plugin install https://github.com/wpengine/wp-graphql-content-blocks/releases/latest/download/wp-graphql-content-blocks.zip
151-
fi
152-
wp plugin activate wp-graphql-content-blocks
153-
154148
# Install WPGatsby and Activate
155149
if ! $( wp plugin is-installed wp-gatsby ); then
156150
wp plugin install wp-gatsby

codeception.dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ modules:
8080
- gravityformssignature/signature.php
8181
- wp-graphql/wp-graphql.php
8282
- wp-graphql-upload/wp-graphql-upload.php
83-
- wp-graphql-content-blocks/wp-graphql-content-blocks.php
83+
# - wp-graphql-content-blocks/wp-graphql-content-blocks.php
8484
- wp-graphql-gravity-forms/wp-graphql-gravity-forms.php
8585
activatePlugins:
8686
- gravityforms/gravityforms.php
@@ -89,6 +89,6 @@ modules:
8989
- gravityformssignature/signature.php
9090
- wp-graphql/wp-graphql.php
9191
- wp-graphql-upload/wp-graphql-upload.php
92-
- wp-graphql-content-blocks/wp-graphql-content-blocks.php
92+
# - wp-graphql-content-blocks/wp-graphql-content-blocks.php
9393
- wp-graphql-gravity-forms/wp-graphql-gravity-forms.php
9494
configFile: 'tests/_data/config.php'

tests/wpunit/ContentBlocksTest.php renamed to tests/wpunit/ContentBlocksTest.php-disabled

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Tests a Form block.
44
*
55
* @package WPGraphQL\GF\Tests
6+
*
7+
* @todo enable after https://github.com/wpengine/wp-graphql-content-blocks/pull/246
68
*/
79

810
use Tests\WPGraphQL\GF\TestCase\GFGraphQLTestCase;

0 commit comments

Comments
 (0)