Skip to content

Commit

Permalink
CI: quick fix on failed benchmark CI using uv run pytest (#6652)
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz authored Dec 5, 2024
1 parent a1872b1 commit 37e5431
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 37e5431

Please sign in to comment.