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:
|
||||
matrix:
|
||||
php-version:
|
||||
- "7.0"
|
||||
- "7.1"
|
||||
- "7.2"
|
||||
|
||||
steps:
|
||||
|
|
@ -74,8 +76,9 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: "${{ matrix.php-version }}"
|
||||
coverage: pcov
|
||||
- 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
|
||||
run: php ./vendor/bin/phpunit tests -c tests/phpunit.xml
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.2"
|
||||
"php": ">=7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue