Skip to content

feat: remove uv lock file #685

feat: remove uv lock file

feat: remove uv lock file #685

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
permissions:
contents: read
pull-requests: write
name: Checks and tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.24"
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Check with pre-commit
env:
SKIP: validate-security-scan, run-security-scan, ruff-check, ruff-format, mypy-check
run: uv run pre-commit run -a
- name: Lint with Ruff
run: uv run ruff check .
- name: Format with Ruff
run: uv run ruff format .
- name: Type check with mypy
run: uv run mypy .
- name: Test with pytest
run: uv run pytest --benchmark-skip
- name: Post uv
run: uv cache prune --ci