From b3ae7ab18518c8931da034391eb9ce6f1af0a187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 16 Oct 2020 06:02:56 +0200 Subject: [PATCH] Use Composer scripts in CI --- .github/workflows/phpunit.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index fc7763c..6e92ffe 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.2, 7.3, 7.4] + php: ['7.2', '7.3', '7.4'] dependency-version: [prefer-lowest, prefer-stable] runs-on: ubuntu-latest @@ -33,11 +33,8 @@ jobs: php-version: ${{ matrix.php }} coverage: none - - - name: Install dependencies run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest --no-progress - - name: Run tests - run: vendor/bin/phpunit tests + run: composer run-script test