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 8
8
schedule :
9
9
- cron : ' 0 0 * * *'
10
10
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13
+ cancel-in-progress : true
14
+
11
15
env :
12
16
PHPUNIT_FLAGS : " -v"
13
17
SYMFONY_PHPUNIT_DIR : " $HOME/symfony-bridge/.phpunit"
@@ -33,28 +37,21 @@ jobs:
33
37
34
38
env :
35
39
SYMFONY_VERSION : ${{ matrix.symfony-version }}
36
- MAKER_ALLOW_DEV_DEPS_IN_APP : ${{ matrix.allow-dev-deps-in-apps }}
37
40
38
41
strategy :
39
42
fail-fast : false
40
43
matrix :
41
44
php-version :
42
45
- ' 8.3'
43
46
symfony-version :
44
- - ' 6.4.x-dev'
45
- - ' 7.0.x-dev'
46
- - ' 7.1.x-dev'
47
+ - ' 6.4.*'
48
+ - ' 7.2.*'
47
49
dependency-versions : ['highest']
48
- allow-dev-deps-in-apps : ['0']
49
50
include :
50
51
# testing lowest PHP+dependencies with lowest Symfony
51
52
- php-version : ' 8.1'
52
53
symfony-version : ' 6.4.*'
53
54
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'
58
55
59
56
steps :
60
57
- name : Checkout code
63
60
- name : Install PHP with extensions
64
61
uses : shivammathur/setup-php@v2
65
62
with :
66
- coverage : " none"
63
+ coverage : none
67
64
php-version : ${{ matrix.php-version }}
65
+ tools : flex
68
66
69
67
- name : Add PHPUnit matcher
70
68
run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Original file line number Diff line number Diff line change 8
8
schedule :
9
9
- cron : ' 0 0 * * *'
10
10
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13
+ cancel-in-progress : true
14
+
11
15
env :
12
16
PHPUNIT_FLAGS : " -v"
13
17
SYMFONY_PHPUNIT_DIR : " $HOME/symfony-bridge/.phpunit"
14
18
MAKER_SKIP_MERCURE_TEST : 1
15
19
MAKER_SKIP_PANTHER_TEST : 1
16
20
MAKER_TEST_WINDOWS : 1
17
21
MAKER_DISABLE_FILE_LINKS : 1
18
- MAKER_ALLOW_DEV_DEPS_IN_APP : 0
19
- SYMFONY_VERSION : ' 7.0.x-dev'
20
22
21
23
jobs :
22
24
tests :
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"minimum-stability" : " dev" ,
15
+ "prefer-stable" : true ,
15
16
"require" : {
16
17
"php" : " >=8.1" ,
17
18
"doctrine/inflector" : " ^2.0" ,
Original file line number Diff line number Diff line change @@ -259,11 +259,6 @@ private function buildFlexSkeleton(): void
259
259
$ this ->composerRequireMakerBundle (\sprintf ('%s/%s ' , $ this ->cachePath , $ flexProjectDir ));
260
260
}
261
261
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
-
267
262
// fetch a few packages needed for testing
268
263
MakerTestProcess::create ('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest ' , $ this ->flexPath )
269
264
->run ();
You can’t perform that action at this time.
0 commit comments