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: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
UV_SYSTEM_PYTHON: 1
strategy: strategy:
matrix: matrix:
python-version: ["3.10"] python-version: ["3.10"]
@ -24,12 +22,11 @@ jobs:
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
enable-cache: true enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install dependencies - name: Install dependencies
run: | run: |
uv pip install -e .[test] uv sync --all-extras
- name: Run Tests - name: Run Tests
run: | 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