chore(workflows): update gh workflows to use uv
This commit is contained in:
@@ -14,14 +14,10 @@ jobs:
|
||||
python-version: ["3.11", "3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -e ".[dev]"
|
||||
python -m pip install pytest-timeout
|
||||
run: uv sync --dev
|
||||
- name: Run pytest
|
||||
run: pytest -v --timeout=30
|
||||
run: uv run pytest -v --timeout=30
|
||||
|
||||
Reference in New Issue
Block a user