Skip to content

Commit

Permalink
CI: quick fix on benchmark CI using uv run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Dec 5, 2024
1 parent 04cc344 commit 4230b64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4230b64

Please sign in to comment.