File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -56,17 +56,23 @@ jobs:
5656 runner : [ codspeed-macro, ubuntu-latest ]
5757 steps :
5858 - uses : actions/checkout@v4
59+ - name : Set up Python
60+ uses : actions/setup-python@v5
61+ with :
62+ python-version-file : " .python-version"
5963 - uses : astral-sh/setup-uv@v6
6064 with :
6165 enable-cache : true
62666367 - uses : Swatinem/rust-cache@v2
64- - run : uv sync --extra test --locked
65- - uses : CodSpeedHQ/action@v3
68+ - run : |
69+ export UV_PROJECT_ENVIRONMENT="${pythonLocation}"
70+ uv sync --extra test --locked
71+ -
uses :
CodSpeedHQ/[email protected] 6672 with :
6773 token : ${{ secrets.CODSPEED_TOKEN }}
6874 # allow updating snapshots due to indeterministic benchmarks
69- run : uv run pytest -vvv -n auto -- snapshot-update
75+ run : pytest -vvv -- snapshot-update --durations=10
7076
7177 docs :
7278 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- 3.12
1+ 3.13
You can’t perform that action at this time.
0 commit comments