feat: Fix Python versions used in CI (#6725)
fix: Fix Python versions used in CI
This commit is contained in:
parent
af2d77d886
commit
a4355caabe
8 changed files with 21 additions and 52 deletions
19
.github/workflows/store_pytest_durations.yml
vendored
19
.github/workflows/store_pytest_durations.yml
vendored
|
|
@ -23,23 +23,8 @@ jobs:
|
|||
UV_CACHE_DIR: /tmp/.uv-cache
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: "uv.lock"
|
||||
- name: "Set up Python"
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Restore uv cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/.uv-cache
|
||||
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
|
||||
restore-keys: |
|
||||
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
|
||||
uv-${{ runner.os }}
|
||||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
- name: Run unit tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue