-
-
Notifications
You must be signed in to change notification settings - Fork 601
40 lines (32 loc) · 837 Bytes
/
benchmarks.yml
File metadata and controls
40 lines (32 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "Benchmarks"
on:
pull_request:
push:
jobs:
benchmarks:
name: "Run benchmarks"
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
dependencies:
- "locked"
php-version:
- "8.4"
operating-system:
- "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v6.0.2"
- name: "Install PHP"
uses: "shivammathur/setup-php@2.37.0"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1
tools: composer:v2, cs2pr
- name: "Install dependencies"
uses: "ramsey/composer-install@4.0.0"
with:
dependency-versions: "${{ matrix.dependencies }}"
- name: "PhpBench"
run: "make phpbench"