avoid the buggy windows environment
This commit is contained in:
parent
bd7ecb9c55
commit
fbefe47806
1 changed files with 3 additions and 4 deletions
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -12,20 +12,19 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest
|
run: composer install --prefer-dist --no-progress --no-suggest
|
||||||
PHPunit:
|
PHPunit:
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
|
||||||
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
|
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 }}
|
name: PHP ${{ matrix.php-versions }} unit tests on ${{ matrix.operating-system }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@develop
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extensions: curl, dom, gd, pdo_sqlite3, sqlite3
|
extensions: gd, sqlite3
|
||||||
- name: Remove composer lock
|
- name: Remove composer lock
|
||||||
run: rm composer.lock
|
run: rm composer.lock
|
||||||
- name: Setup PHPunit
|
- name: Setup PHPunit
|
||||||
|
|
Loading…
Reference in a new issue