Skip to content

Commit

Permalink
Keep only sf6.* in matrix test, allow flex plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
metfan committed Aug 2, 2023
1 parent 47da037 commit 6c927fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --dry-run
args: --config=.php-cs-fixer.php --dry-run

phpstan:
runs-on: ubuntu-latest
Expand Down
22 changes: 7 additions & 15 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,12 @@ jobs:
fail-fast: false
matrix:
php: [7.4, 8.0, 8.1, 8.2]
symfony: [4.4.*, 5.4.*, 6.0.*, 6.1.*, 6.2.*, 6.3.*]
symfony: [4.4.*, 5.4.*, 6.*]
exclude:
- php: 7.4
symfony: 6.0.*
- php: 7.4
symfony: 6.1.*
- php: 7.4
symfony: 6.2.*
- php: 7.4
symfony: 6.3.*
- php: 8.0
symfony: 6.1.*
- php: 8.0
symfony: 6.2.*
symfony: 6.*
- php: 8.0
symfony: 6.3.*
symfony: 6.*

services:
rabbitmq:
Expand Down Expand Up @@ -53,12 +43,14 @@ jobs:
run: docker restart ${{ job.services.rabbitmq.id }}

- name: Install Symfony Flex
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts symfony/flex
- name: Install the dependencies
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
run: composer install --no-interaction --prefer-dist --no-progress --no-suggest --no-plugins
run: composer install --no-interaction --prefer-dist --no-progress --no-suggest

- name: Wait for broker service
run: Tests/bin/wait_broker
Expand Down

0 comments on commit 6c927fa

Please sign in to comment.