Spaces:
Runtime error
Runtime error
Add GitHub Actions workflow for testing with pytest
Browse files1234567891011121314151617181920212223242526272829303132name: Tests
on: push: branches: [ main ] pull_request: branches: [ main ]
jobs: test: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v4
- name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.12'
- name: Install uv uses: astral-sh/setup-uv@v5 with: enable-cache: true
- name: Install dependencies run: | uv sync --group dev
- name: Run tests with pytest run: | uv run pytest tests/ -v --cov --cov-report=term-missing.github/workflows/test.ymlAdded+32