Skip to content

Commit

Permalink
Remove composer config and ignore platform reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
REBELinBLUE committed Jun 7, 2020
1 parent 8cf8eaa commit ddbdd82
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -74,12 +72,12 @@ 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

- name: Upload Coverage Report
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
fail_ci_if_error: true

0 comments on commit ddbdd82

Please sign in to comment.