File tree Expand file tree Collapse file tree 4 files changed +13
-17
lines changed Expand file tree Collapse file tree 4 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 88 schedule :
99 - cron : ' 0 0 * * *'
1010
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+ cancel-in-progress : true
14+
1115env :
1216 PHPUNIT_FLAGS : " -v"
1317 SYMFONY_PHPUNIT_DIR : " $HOME/symfony-bridge/.phpunit"
@@ -33,28 +37,21 @@ jobs:
3337
3438 env :
3539 SYMFONY_VERSION : ${{ matrix.symfony-version }}
36- MAKER_ALLOW_DEV_DEPS_IN_APP : ${{ matrix.allow-dev-deps-in-apps }}
3740
3841 strategy :
3942 fail-fast : false
4043 matrix :
4144 php-version :
4245 - ' 8.3'
4346 symfony-version :
44- - ' 6.4.x-dev'
45- - ' 7.0.x-dev'
46- - ' 7.1.x-dev'
47+ - ' 6.4.*'
48+ - ' 7.2.*'
4749 dependency-versions : ['highest']
48- allow-dev-deps-in-apps : ['0']
4950 include :
5051 # testing lowest PHP+dependencies with lowest Symfony
5152 - php-version : ' 8.1'
5253 symfony-version : ' 6.4.*'
5354 dependency-versions : ' lowest'
54- # testing lowest PHP+dependencies with highest Symfony
55- - php-version : ' 8.1'
56- symfony-version : ' 6.4.*'
57- dependency-versions : ' highest'
5855
5956 steps :
6057 - name : Checkout code
6360 - name : Install PHP with extensions
6461 uses : shivammathur/setup-php@v2
6562 with :
66- coverage : " none"
63+ coverage : none
6764 php-version : ${{ matrix.php-version }}
65+ tools : flex
6866
6967 - name : Add PHPUnit matcher
7068 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Original file line number Diff line number Diff line change 88 schedule :
99 - cron : ' 0 0 * * *'
1010
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+ cancel-in-progress : true
14+
1115env :
1216 PHPUNIT_FLAGS : " -v"
1317 SYMFONY_PHPUNIT_DIR : " $HOME/symfony-bridge/.phpunit"
1418 MAKER_SKIP_MERCURE_TEST : 1
1519 MAKER_SKIP_PANTHER_TEST : 1
1620 MAKER_TEST_WINDOWS : 1
1721 MAKER_DISABLE_FILE_LINKS : 1
18- MAKER_ALLOW_DEV_DEPS_IN_APP : 0
19- SYMFONY_VERSION : ' 7.0.x-dev'
2022
2123jobs :
2224 tests :
Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "minimum-stability" : " dev" ,
15+ "prefer-stable" : true ,
1516 "require" : {
1617 "php" : " >=8.1" ,
1718 "doctrine/inflector" : " ^2.0" ,
Original file line number Diff line number Diff line change @@ -259,11 +259,6 @@ private function buildFlexSkeleton(): void
259259 $ this ->composerRequireMakerBundle (\sprintf ('%s/%s ' , $ this ->cachePath , $ flexProjectDir ));
260260 }
261261
262- if ($ _SERVER ['MAKER_ALLOW_DEV_DEPS_IN_APP ' ] ?? false ) {
263- MakerTestProcess::create ('composer config minimum-stability dev ' , $ this ->flexPath )->run ();
264- MakerTestProcess::create ('composer config prefer-stable true ' , $ this ->flexPath )->run ();
265- }
266-
267262 // fetch a few packages needed for testing
268263 MakerTestProcess::create ('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest ' , $ this ->flexPath )
269264 ->run ();
You can’t perform that action at this time.
0 commit comments