mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
7.0?
This commit is contained in:
parent
21897ce24c
commit
895940d71b
2 changed files with 6 additions and 3 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
|
@ -66,6 +66,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-version:
|
php-version:
|
||||||
|
- "7.0"
|
||||||
|
- "7.1"
|
||||||
- "7.2"
|
- "7.2"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -74,8 +76,9 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: "${{ matrix.php-version }}"
|
php-version: "${{ matrix.php-version }}"
|
||||||
coverage: pcov
|
|
||||||
- name: Composer
|
- name: Composer
|
||||||
run: composer require --dev phpunit/phpunit ^8
|
run: |
|
||||||
|
echo '{"autoload": {"psr-4": {"Icewind\\Streams\\": "src/"}},"autoload-dev": {"psr-4": {"Icewind\\Streams\\Tests\\": "tests/"}}}' > composer.json
|
||||||
|
composer require --dev phpunit/phpunit ^6
|
||||||
- name: PHPUnit Tests
|
- name: PHPUnit Tests
|
||||||
run: php ./vendor/bin/phpunit tests -c tests/phpunit.xml
|
run: php ./vendor/bin/phpunit tests -c tests/phpunit.xml
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.2"
|
"php": ">=7.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9",
|
"phpunit/phpunit": "^9",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue