From 4230b64ba32002ff642174b64d5b0a8995758c5f Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Thu, 5 Dec 2024 19:07:59 +0100 Subject: [PATCH] CI: quick fix on benchmark CI using uv run pytest --- .github/workflows/benchmark.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 5bb4b61c5..c52629344 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -4,6 +4,9 @@ on: push: branches: [main] paths-ignore: [docs/**] + pull_request: + branches-ignore: [gh-pages] + paths: [.github/workflows/benchmark*] # https://docs.github.com/en/actions/using-jobs/using-concurrency concurrency: @@ -54,9 +57,10 @@ jobs: uses: ./.github/actions/install-aiida-core with: python-version: '3.10' + from-lock: 'true' - name: Run benchmarks - run: pytest --db-backend psql --benchmark-only --benchmark-json benchmark.json tests/ + run: uv run pytest --db-backend psql --benchmark-only --benchmark-json benchmark.json tests/ - name: Store benchmark result uses: aiidateam/github-action-benchmark@v3