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