Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the supported versions #91

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
25 changes: 23 additions & 2 deletions .github/workflows/testing-and-cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
fail-fast: false
matrix:
php: ["8.0", "8.1"]
composer: ["2.0", "2.1", "2.2", "2.3"]
composer: ["2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7"]
symfony: ["^5.4", "^6.0"]
steps:
- name: Checkout repository
Expand All @@ -58,9 +58,30 @@ jobs:
- run: composer install
- run: vendor/bin/phpunit

PHPUnit-Symfony7:
name: PHPUnit testing
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["8.2"]
composer: ["2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7"]
symfony: ["^7.0"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: 'Unit testing'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:${{ matrix.composer }}
- run: composer require "symfony/finder:${{ matrix.symfony }}" "symfony/filesystem:${{ matrix.symfony }}"
- run: composer install
- run: vendor/bin/phpunit

BuildDone:
name: PHP full build
needs: [PHPCS, PHPUnit-Symfony45, PHPUnit-Symfony56]
needs: [PHPCS, PHPUnit-Symfony45, PHPUnit-Symfony56, PHPUnit-Symfony7]
runs-on: ubuntu-latest
steps:
- run: "echo build done"
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"ext-zip": "*",
"composer-plugin-api": "^1.1|^2.0",
"guzzlehttp/guzzle": "^6.0|^7.0",
"symfony/finder": "^4.0|^5.0|^6.0",
"symfony/filesystem": "^4.0|^5.0|^6.0"
"symfony/finder": "^4.0|^5.0|^6.0|^7.0",
"symfony/filesystem": "^4.0|^5.0|^6.0|^7.0"
},
"extra": {
"class": "Elendev\\ComposerPush\\Plugin"
Expand Down
Loading