diff --git a/.ci/test/static/run b/.ci/test/static/run index 5383dde0..c09eeb3c 100755 --- a/.ci/test/static/run +++ b/.ci/test/static/run @@ -8,7 +8,9 @@ set -eo pipefail # # Run composer install to get the vendor directory -composer install --no-ansi --no-interaction --optimize-autoloader --no-progress +# ext-redis is ignored because the CI image doesn't ship it; Object Cache Pro +# requires it, but nothing is executed during static analysis. +composer install --ignore-platform-req=ext-redis --no-ansi --no-interaction --optimize-autoloader --no-progress # Delete and reset the web directory # This is necessary so that third-party diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e05d9e0..8ef4b813 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -234,7 +234,11 @@ workflows: build_deploy_and_test: jobs: - configure_env_vars - - static_tests + # static_tests runs composer install, which downloads premium plugins + # from their registries, so it needs the same credentials as build_php. + - static_tests: + context: + - plugin_keys - build_yarn - build_php: context: