Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
strategy:
matrix:
php:
- 8.0
- 7.4
- 7.3
- 7.2
Expand All @@ -32,6 +33,15 @@ jobs:
- run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
if: ${{ matrix.php < 7.3 }}
- run: composer build
- run: composer require symfony/console:^6.0 --dry-run --working-dir=tests/install-as-dep
if: ${{ matrix.php >= 8.0 }}
- run: composer require symfony/console:^5.0 --dry-run --working-dir=tests/install-as-dep
if: ${{ matrix.php >= 7.2 }}
- run: composer require symfony/console:^4.0 --dry-run --working-dir=tests/install-as-dep
if: ${{ matrix.php >= 7.1 && matrix.php < 8.0 }}
- run: composer require symfony/console:^3.0 --dry-run --working-dir=tests/install-as-dep
if: ${{ matrix.php >= 5.5 && matrix.php < 8.0 }}
- run: composer install --dry-run --working-dir=tests/install-as-dep

PHPUnit-hhvm:
name: PHPUnit (HHVM)
Expand All @@ -44,13 +54,4 @@ jobs:
version: lts-3.30
- run: hhvm $(which composer) install
- run: hhvm vendor/bin/phpunit

Test-dependency-installation:
name: Test dependency installation
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
- run: composer install --dry-run --working-dir=tests/install-as-dep
- run: hhvm $(which composer) install --dry-run --working-dir=tests/install-as-dep
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"clue/graph": "^0.9.1",
"graphp/graphviz": "^0.2.2",
"jms/composer-deps-analyzer": "^1.0.1",
"symfony/console": "^5.0 || ^4.0 || ^3.0 || ^2.1"
"symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.0 || ^2.1"
},
"require-dev": {
"clue/phar-composer": "^1.3",
Expand Down
2 changes: 1 addition & 1 deletion tests/install-as-dep/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"symfony/console": "^4.0"
"symfony/console": "*"
},
"require-dev": {
"clue/graph-composer": "*@dev"
Expand Down