This repository was archived by the owner on Mar 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -109,3 +109,34 @@ jobs:
109
109
-
110
110
name : " Run PHPUnit"
111
111
run : " vendor/bin/phpunit"
112
+ phpbench :
113
+ name : " PHPBench (smoke test)"
114
+
115
+ runs-on : " ubuntu-latest"
116
+
117
+ strategy :
118
+ matrix :
119
+ php-version :
120
+ - ' 7.3'
121
+ steps :
122
+ -
123
+ name : " Checkout code"
124
+ uses : " actions/checkout@v2"
125
+
126
+ -
127
+ name : " Install PHP"
128
+ uses : " shivammathur/setup-php@v2"
129
+ with :
130
+ coverage : " none"
131
+ extensions : " ${{ env.REQUIRED_PHP_EXTENSIONS }}"
132
+ php-version : " ${{ matrix.php-version }}"
133
+ tools : composer:v2
134
+
135
+ -
136
+ name : " Composer install"
137
+ uses : " ramsey/composer-install@v1"
138
+ with :
139
+ composer-options : " --no-scripts"
140
+ -
141
+ name : " Run PHPBench"
142
+ run : " vendor/bin/phpbench run --progress=travis --iterations=1 --revs=1"
Original file line number Diff line number Diff line change 35
35
"friendsofphp/php-cs-fixer" : " ^2.17" ,
36
36
"jangregor/phpstan-prophecy" : " ^0.8.0" ,
37
37
"phpactor/test-utils" : " ^1.1" ,
38
- "phpbench/phpbench" : " ^0.17.1 " ,
38
+ "phpbench/phpbench" : " ^1.0.0-alpha3 " ,
39
39
"phpspec/prophecy-phpunit" : " ^2.0" ,
40
40
"phpstan/phpstan" : " ~0.12.0" ,
41
41
"phpunit/phpunit" : " ^9.0" ,
77
77
" ./vendor/bin/php-cs-fixer fix"
78
78
]
79
79
}
80
- }
80
+ }
You can’t perform that action at this time.
0 commit comments