From 6e04011feb5b6be61da5546c58623bb142003829 Mon Sep 17 00:00:00 2001 From: Nathan Boiron Date: Thu, 26 Nov 2020 23:37:42 +0100 Subject: [PATCH] Remove the local dependency on infection --- .github/workflows/run-tests.yml | 15 ++++++++------- composer.json | 3 +-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 62cb58b..bc0fffe 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,20 +18,21 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ~/.composer/cache/files - key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: none + tools: composer:v2 + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ~/.composer/cache/files + key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - name: Install dependencies run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit + run: php vendor/bin/phpunit diff --git a/composer.json b/composer.json index be7b1bb..a692be8 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,6 @@ }, "require-dev": { "phpunit/phpunit": "^7.5", - "phpstan/phpstan": "0.12.56", - "infection/infection": "^0.20.2" + "phpstan/phpstan": "0.12.56" } }