Skip to content

Commit f2d4037

Browse files
committed
refactor: adapt CI
1 parent 6910b8f commit f2d4037

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
php-version:
2525
- "8.3"
2626
- "8.4"
27-
dependencies:
28-
- "lowest"
29-
- "highest"
27+
composer-options:
28+
- "--prefer-lowest --no-progress --no-suggest --no-interaction --no-audit --ansi"
29+
- "--no-progress --no-suggest --no-interaction --no-audit --ansi"
3030
steps:
3131
- name: "Checkout"
3232
uses: "actions/checkout@v2"
@@ -40,18 +40,25 @@ jobs:
4040
coverage: "pcov"
4141
ini-values: "zend.assertions=1"
4242

43+
- name: Remove sensio/framework-extra-bundle
44+
uses: php-actions/composer@v6
45+
if: matrix.symfony-version == '^7.2'
46+
with:
47+
command: remove
48+
args: --dev sensio/framework-extra-bundle
49+
4350
- name: Configure symfony version
4451
uses: php-actions/composer@v6
4552
with:
4653
command: config
4754
args: extra.symfony.require ${{ matrix.symfony-version }}
4855

49-
- name: "Install dependencies with Composer"
50-
uses: "ramsey/composer-install@v1"
56+
- name: Install dependencies
57+
uses: php-actions/composer@v6
5158
with:
52-
dependency-versions: "${{ matrix.dependencies }}"
53-
composer-options: "${{ matrix.composer-options }}"
59+
command: update
60+
args: ${{ matrix.composer-options }}
5461

5562
- name: Run tests
5663
run: |
57-
SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/simple-phpunit ${PHPUNIT_FLAGS}
64+
SYMFONY_DEPRECATIONS_HELPER=weak ./vendor/bin/simple-phpunit ${PHPUNIT_FLAGS}

0 commit comments

Comments
 (0)