ci: Use official uv action, sync

This commit is contained in:
remsky 2025-01-13 23:59:21 -07:00
parent 58cc7c898a
commit 03531db5d4

View file

@ -9,8 +9,6 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
UV_SYSTEM_PYTHON: 1
strategy:
matrix:
python-version: ["3.10"]
@ -24,12 +22,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install dependencies
run: |
uv pip install -e .[test]
uv sync --all-extras
- name: Run Tests
run: |
uv run pytest api/tests/ ui/tests/ --asyncio-mode=auto --cov=api --cov=ui --cov-report=term-missing
uv run pytest api/tests/ --asyncio-mode=auto --cov=api --cov=ui --cov-report=term-missing