File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -212,18 +212,6 @@ jobs:
212
212
echo 'Platform reqs failed, running `composer update`'
213
213
composer --working-dir="$DIR" update
214
214
fi
215
-
216
- if [[ "$WP_BRANCH" == 'trunk' || "$WP_BRANCH" == 'previous' ]]; then
217
- VER=$(composer --format=json --working-dir="$DIR" show | jq -r '.installed[] | select( .name == "roots/wordpress" ) | .version')
218
- if [[ -n "$VER" ]]; then
219
- INSVER=$WORDPRESS_TAG
220
- [[ "$WORDPRESS_TAG" == 'trunk' ]] && INSVER="dev-main as $VER"
221
- echo "Supposed to run tests against WordPress $WORDPRESS_TAG, so setting roots/wordpress and roots/wordpress-no-content to \"$INSVER\""
222
- # Composer seems to sometimes have issues with deleting the wordpress dir on its own, so do it manually first.
223
- rm -rf "$DIR/wordpress"
224
- composer --working-dir="$DIR" require --dev "roots/wordpress:$INSVER" "roots/wordpress-no-content:$INSVER"
225
- fi
226
- fi
227
215
fi
228
216
fi
229
217
@@ -244,7 +232,7 @@ jobs:
244
232
245
233
# Actions seems to slow down if there are a lot of files, so clean up Composer stuff after each test.
246
234
# We don't do it for JS stuff, as that might break things with how JS does package deps.
247
- rm -rf "$DIR/vendor" "$DIR/jetpack_vendor" "$DIR/wordpress"
235
+ rm -rf "$DIR/vendor" "$DIR/jetpack_vendor"
248
236
249
237
if $FAIL; then
250
238
echo "Tests for $SLUG failed!"
You can’t perform that action at this time.
0 commit comments