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:
109109 -
110110 name : " Run PHPUnit"
111111 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 3535 "friendsofphp/php-cs-fixer" : " ^2.17" ,
3636 "jangregor/phpstan-prophecy" : " ^0.8.0" ,
3737 "phpactor/test-utils" : " ^1.1" ,
38- "phpbench/phpbench" : " ^0.17.1 " ,
38+ "phpbench/phpbench" : " ^1.0.0-alpha3 " ,
3939 "phpspec/prophecy-phpunit" : " ^2.0" ,
4040 "phpstan/phpstan" : " ~0.12.0" ,
4141 "phpunit/phpunit" : " ^9.0" ,
7777 " ./vendor/bin/php-cs-fixer fix"
7878 ]
7979 }
80- }
80+ }
You can’t perform that action at this time.
0 commit comments