From 3c3f199db4152dddad72312a49a0d0f1d23d06d4 Mon Sep 17 00:00:00 2001 From: "Jens A. Koch" Date: Wed, 26 Jun 2024 02:50:39 +0200 Subject: [PATCH] install dependencies --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac04e7b..fd90aaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,14 +39,17 @@ jobs: - name: ✅ PHP lint run: find . -path ./vendor -prune -o -type f -name '*.php' ! -name "test_with_parse_error.php" -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" ) - - name: 🔴🟢🟢🟢 Test - run: vendor/bin/phpunit --configuration ./tests/phpunit.xml.dist - - name: Update Composer run: | composer self-update composer diagnose + - name: Install Composer dependencies + run: composer install --no-progress --prefer-dist --optimize-autoloader + + - name: 🔴🟢🟢🟢 Test + run: vendor/bin/phpunit --configuration ./tests/phpunit.xml.dist + # This tests the installation of the installer using require "dev-main", # along with the installation of the latest version of PhantomJS. - name: Installer "dev-main" installs latest PhantomJS version