Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

Commit 3b9b96b

Browse files
authored
Maestro updates PHPBench (#34)
1 parent f89cec8 commit 3b9b96b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)