chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491)
* chore: remove setup-uv action configuration file as it is no longer needed * chore: update setup-uv action to use the official action across all workflows * chore: disable cache pruning in all workflows to improve build stability * chore: update Python version to 3.13 and add pre-release description in workflows
This commit is contained in:
parent
4ba20a8de3
commit
b378eb81d0
13 changed files with 94 additions and 53 deletions
10
.github/workflows/store_pytest_durations.yml
vendored
10
.github/workflows/store_pytest_durations.yml
vendored
|
|
@ -23,15 +23,19 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: "uv.lock"
|
||||
python-version: "3.13"
|
||||
prune-cache: false
|
||||
- name: Install the project
|
||||
run: uv sync
|
||||
- name: Run unit tests
|
||||
id: run_tests
|
||||
continue-on-error: true
|
||||
run: uv run pytest src/backend/tests/unit --timeout=120 --durations-path src/backend/tests/.test_durations --splitting-algorithm least_duration --store-durations
|
||||
- name: Minimize uv cache
|
||||
run: uv cache prune --ci
|
||||
|
||||
|
||||
- name: Close existing PRs
|
||||
uses: actions/github-script@v7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue