From b20a33ca6c5d3f7aaf7b92fc0510b4ba4ccb9c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Mon, 8 Dec 2025 11:24:08 +0100 Subject: [PATCH] chore(ci): use pip-install option from setup-python action This avoids calling pip directly in the steps using Python. --- .github/workflows/benchmark_perf_regression.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/benchmark_perf_regression.yml b/.github/workflows/benchmark_perf_regression.yml index c7d401c8b..358e7c757 100644 --- a/.github/workflows/benchmark_perf_regression.yml +++ b/.github/workflows/benchmark_perf_regression.yml @@ -314,10 +314,10 @@ jobs: uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: '3.12' + pip-install: -r ci/data_extractor/requirements.txt -r ci/perf_regression/requirements.txt - name: Fetch data run: | - python3 -m pip install -r ci/data_extractor/requirements.txt python3 ci/data_extractor/src/data_extractor.py regression_data \ --generate-regression-json \ --regression-profiles ci/regression.toml \ @@ -336,7 +336,6 @@ jobs: - name: Generate regression report run: | - python3 -m pip install -r ci/perf_regression/requirements.txt python3 ci/perf_regression/perf_regression.py check_regression \ --results-file regression_data.json \ --generate-report