From ddbdd8276fdbc80cf33e9cd2f6416b194c9f943c Mon Sep 17 00:00:00 2001 From: Stephen Ball Date: Sun, 7 Jun 2020 12:25:13 +0100 Subject: [PATCH] Remove composer config and ignore platform reqs --- .github/workflows/tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 09fbbbb..0f58e28 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,9 +35,7 @@ jobs: restore-keys: ${{ runner.os }}-composer-${{ matrix.php }} - name: Install Dependencies - run: | - composer config platform.php ${{ matrix.php }} - composer install --no-interaction --prefer-dist --no-suggest + run: composer install --no-interaction --prefer-dist --no-suggest - name: Run Unit Tests run: php vendor/bin/phpunit @@ -74,7 +72,7 @@ jobs: restore-keys: ${{ runner.os }}-composer-${{ matrix.php }} - name: Install Dependencies - run: composer install --no-interaction --prefer-dist --no-suggest --ignore-platform-reqs + run: composer install --no-interaction --prefer-dist --no-suggest - name: Run Unit Tests run: php vendor/bin/phpunit --coverage-clover=clover.xml @@ -82,4 +80,4 @@ jobs: - name: Upload Coverage Report uses: codecov/codecov-action@v1 with: - fail_ci_if_error: true \ No newline at end of file + fail_ci_if_error: true