avoid the buggy windows environment

This commit is contained in:
El RIDO 2020-05-31 15:53:57 +02:00
parent bd7ecb9c55
commit fbefe47806
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -12,20 +12,19 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
PHPunit:
runs-on: ${{ matrix.operating-system }}
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
name: PHP ${{ matrix.php-versions }} unit tests on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@develop
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: curl, dom, gd, pdo_sqlite3, sqlite3
extensions: gd, sqlite3
- name: Remove composer lock
run: rm composer.lock
- name: Setup PHPunit