File tree 6 files changed +21
-17
lines changed
6 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 58
58
- name : " Install dependencies"
59
59
run : composer install --ansi --no-interaction --no-progress
60
60
61
- - name : Install PHPUnit
62
- id : install
63
- run : vendor/bin/simple-phpunit install
64
-
65
61
- name : Lint YAML files
66
62
if : always() && steps.install.outcome == 'success'
67
63
run : ./bin/console lint:yaml config --parse-tags
Original file line number Diff line number Diff line change 8
8
9
9
env :
10
10
fail-fast : true
11
- PHPUNIT_FLAGS : " -v"
12
- SYMFONY_PHPUNIT_DIR : " $HOME/symfony-bridge/.phpunit"
13
- SYMFONY_DEPRECATIONS_HELPER : ' max[indirect]=52'
14
11
15
12
permissions :
16
13
contents : read
68
65
php bin/console sass:build
69
66
php bin/console asset-map:compile
70
67
71
- - name : " Install PHPUnit"
72
- run : vendor/bin/simple-phpunit install
73
-
74
- - name : " PHPUnit version"
75
- run : vendor/bin/simple-phpunit --version
76
-
77
68
- name : " Run tests"
78
- run : vendor/ bin/simple- phpunit ${{ env.PHPUNIT_FLAGS }}
69
+ run : bin/phpunit
Original file line number Diff line number Diff line change 26
26
# ##> phpstan/phpstan ###
27
27
phpstan.neon
28
28
# ##< phpstan/phpstan ###
29
+
30
+ # ##> phpunit/phpunit ###
31
+ /phpunit.xml
32
+ .phpunit.result.cache
33
+ # ##< phpunit/phpunit ###
Original file line number Diff line number Diff line change 58
58
"phpstan/phpstan" : " ^1.2" ,
59
59
"phpstan/phpstan-doctrine" : " ^1.3" ,
60
60
"phpstan/phpstan-symfony" : " ^1.2" ,
61
+ "phpunit/phpunit" : " ^11.3" ,
61
62
"symfony/browser-kit" : " ^7" ,
62
63
"symfony/css-selector" : " ^7" ,
63
64
"symfony/debug-bundle" : " ^7" ,
64
65
"symfony/maker-bundle" : " ^1.36" ,
65
- "symfony/phpunit-bridge" : " ^7" ,
66
66
"symfony/stopwatch" : " ^7" ,
67
67
"symfony/web-profiler-bundle" : " ^7" ,
68
68
"twbs/bootstrap" : " ^5"
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ parameters:
6
6
paths:
7
7
- src
8
8
- tests
9
- bootstrapFiles:
10
- - vendor/bin/.phpunit/phpunit/vendor/autoload.php
11
9
doctrine:
12
10
objectManagerLoader: tests/object-manager.php
13
11
symfony:
Original file line number Diff line number Diff line change 62
62
"phpstan.dist.neon"
63
63
]
64
64
},
65
+ "phpunit/phpunit": {
66
+ "version": "11.5",
67
+ "recipe": {
68
+ "repo": "github.com/symfony/recipes",
69
+ "branch": "main",
70
+ "version": "9.6",
71
+ "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
72
+ },
73
+ "files": [
74
+ ".env.test",
75
+ "phpunit.xml.dist",
76
+ "tests/bootstrap.php"
77
+ ]
78
+ },
65
79
"symfony/apache-pack": {
66
80
"version": "1.0",
67
81
"recipe": {
You can’t perform that action at this time.
0 commit comments