Skip to content

Commit

Permalink
7.0?
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Mar 2, 2021
1 parent 21897ce commit 895940d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
strategy:
matrix:
php-version:
- "7.0"
- "7.1"
- "7.2"

steps:
Expand All @@ -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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": ">=7.2"
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^9",
Expand Down

0 comments on commit 895940d

Please sign in to comment.