Skip to content

Commit

Permalink
add installation step
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Nov 24, 2023
1 parent 14317fb commit 42ac7be
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ concurrency:
cancel-in-progress: true

env:
POLLING_INTERVALS_SEC: 30
SLEEP_TIME_SEC: 60s
TERM: xterm

jobs:
Expand All @@ -33,6 +31,20 @@ jobs:
tools: composer
coverage: none

- name: Install Composer dependencies
uses: ramsey/composer-install@v2

- name: Ensure that the make target is up to date
run: make _vendor_install

- name: Install PHPBench
uses: ramsey/composer-install@v2
with:
working-directory: vendor-bin/phpbench

- name: Ensure that the PHPBench make target is up to date
run: make phpbench_install

- name: Run PHPBench
run: make phpbench_main

Expand Down Expand Up @@ -60,6 +72,20 @@ jobs:
tools: composer
coverage: none

- name: Install Composer dependencies
uses: ramsey/composer-install@v2

- name: Ensure that the make target is up to date
run: make _vendor_install

- name: Install PHPBench
uses: ramsey/composer-install@v2
with:
working-directory: vendor-bin/phpbench

- name: Ensure that the PHPBench make target is up to date
run: make phpbench_install

- name: Download the Benchmark results of the main branch
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 42ac7be

Please sign in to comment.