Skip to content

Commit a87915b

Browse files
committed
minor: fix tests on 7.1
1 parent 529cd2c commit a87915b

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
tools: composer:v2, phpstan, cs2pr
2121

2222
- name: "installing dependencies"
23-
run: "composer update --no-interaction --no-progress --no-suggest"
23+
run: "COMPOSER_ROOT_VERSION=dev-main composer update --no-interaction --no-progress"
24+
env:
25+
COMPOSER_ROOT_VERSION: 'dev-main'
2426

2527
- name: "installing phpunit"
2628
run: "php vendor/bin/simple-phpunit install"

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88

99
runs-on: ${{ matrix.operating-system }}
1010

11+
env:
12+
COMPOSER_ROOT_VERSION: 'dev-main'
13+
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
14+
1115
strategy:
1216
matrix:
1317
dependencies:
@@ -42,13 +46,17 @@ jobs:
4246
key: "php-${{ matrix.php-version }}-${{ matrix.operating-system }}"
4347
restore-keys: "php-${{ matrix.php-version }}-${{ matrix.operating-system }}"
4448

49+
- name: "removing symfony/ux-turbo-mercure on PHP 7.1"
50+
if: ${{ matrix.php-version == '7.1' }}
51+
run: "composer remove symfony/ux-turbo-mercure --no-update --dev"
52+
4553
- name: "installing lowest dependencies"
4654
if: ${{ matrix.dependencies == 'lowest' }}
47-
run: "composer update --prefer-lowest --no-interaction --no-progress --no-suggest"
55+
run: "composer update --prefer-lowest --no-interaction --no-progress"
4856

4957
- name: "installing highest dependencies"
5058
if: ${{ matrix.dependencies == 'highest' }}
51-
run: "composer update --no-interaction --no-progress --no-suggest"
59+
run: "composer update --no-interaction --no-progress"
5260

5361
- name: "installing phpunit"
5462
run: "php vendor/bin/simple-phpunit install"

0 commit comments

Comments
 (0)