Skip to content

Commit

Permalink
Try ignoring platform reqs for Composer
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Aug 1, 2021
1 parent d66bb85 commit 75f6bc0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/runTests.yml
Expand Up @@ -10,11 +10,14 @@ jobs:
tests:
name: PHP ${{ matrix.php-versions }} on ${{ matrix.os }} w/ ${{ matrix.dependencies }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.php-versions == '8.1' }}
strategy:
fail-fast: false
matrix:
php-versions: ['7.3', '7.4', '8.0', '8.1']
php-versions:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
os: [ubuntu-latest, windows-latest, macOS-latest]
dependencies: ['install', 'update --prefer-lowest', 'update']

Expand Down Expand Up @@ -51,9 +54,10 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer ${{ matrix.dependencies }} --prefer-dist --no-progress --no-suggest
run: composer ${{ matrix.dependencies }} --prefer-dist --no-progress --no-suggest --ignore-platform-reqs

- name: Run test suite
continue-on-error: ${{ matrix.php-versions == '8.1' }}
run: composer run-script test -- --coverage-text

- name: Notify Coveralls
Expand Down

0 comments on commit 75f6bc0

Please sign in to comment.