File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -83,30 +83,30 @@ export MONGODB_MULTI_MONGOS_LB_URI="${MONGODB_MULTI_MONGOS_LB_URI}"
83
83
# Run the tests, and store the results in a junit result file
84
84
case " $TESTS " in
85
85
atlas)
86
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS --group atlas
86
+ php vendor/bin/phpunit $PHPUNIT_OPTS --group atlas
87
87
;;
88
88
89
89
atlas-data-lake)
90
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS --group atlas-data-lake
90
+ php vendor/bin/phpunit $PHPUNIT_OPTS --group atlas-data-lake
91
91
;;
92
92
93
93
csfle)
94
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS --group csfle
94
+ php vendor/bin/phpunit $PHPUNIT_OPTS --group csfle
95
95
;;
96
96
97
97
csfle-without-aws-creds)
98
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS --group csfle-without-aws-creds
98
+ php vendor/bin/phpunit $PHPUNIT_OPTS --group csfle-without-aws-creds
99
99
;;
100
100
101
101
versioned-api)
102
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS --group versioned-api
102
+ php vendor/bin/phpunit $PHPUNIT_OPTS --group versioned-api
103
103
;;
104
104
105
105
serverless)
106
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS --group serverless
106
+ php vendor/bin/phpunit $PHPUNIT_OPTS --group serverless
107
107
;;
108
108
109
109
* )
110
- php vendor/bin/simple- phpunit $PHPUNIT_OPTS
110
+ php vendor/bin/phpunit $PHPUNIT_OPTS
111
111
;;
112
112
esac
Original file line number Diff line number Diff line change 77
77
php-ini-values : " zend.assertions=1"
78
78
79
79
- name : " Run PHPUnit"
80
- run : " vendor/bin/simple- phpunit -v"
80
+ run : " vendor/bin/phpunit -v"
81
81
env :
82
82
SYMFONY_DEPRECATIONS_HELPER : 999999
83
83
MONGODB_URI : ${{ steps.setup-mongodb.outputs.cluster-uri }}
Original file line number Diff line number Diff line change @@ -43,12 +43,10 @@ credentials in the connection string (i.e. `MONGODB_URI`) or set the
43
43
Note that ` MONGODB_USERNAME ` and ` MONGODB_PASSWORD ` will override any
44
44
credentials present in the connection string.
45
45
46
- By default, the ` simple-phpunit ` binary chooses the correct PHPUnit version for
47
- the PHP version you are running. To run tests against a specific PHPUnit
48
- version, use the ` SYMFONY_PHPUNIT_VERSION ` environment variable:
46
+ To run tests use the ` phpunit ` executable installed by Composer:
49
47
50
48
``` console
51
- $ SYMFONY_PHPUNIT_VERSION=8.5 vendor/bin/simple- phpunit
49
+ $ vendor/bin/phpunit
52
50
```
53
51
54
52
### Environment Variables
Original file line number Diff line number Diff line change 51
51
"fix:cs" : " phpcbf" ,
52
52
"fix:psalm:baseline" : " psalm --set-baseline=psalm-baseline.xml" ,
53
53
"fix:rector" : " rector process --ansi" ,
54
- "test" : " simple- phpunit"
54
+ "test" : " phpunit"
55
55
},
56
56
"extra" : {
57
57
"branch-alias" : {
You can’t perform that action at this time.
0 commit comments