From 42ac7be471627fd37dc6b5c9f9efd9be8f4f2789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Fri, 24 Nov 2023 17:56:47 +0100 Subject: [PATCH] add installation step --- .github/workflows/benchmark.yaml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index 0403ca903..cccc30261 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -10,8 +10,6 @@ concurrency: cancel-in-progress: true env: - POLLING_INTERVALS_SEC: 30 - SLEEP_TIME_SEC: 60s TERM: xterm jobs: @@ -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 @@ -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: