Spaces:
Sleeping
Sleeping
| name: Test, Format, and Lint | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: | | |
| uv sync --extra dev | |
| - name: Run Format and Lint Checks | |
| run: | | |
| uv run ruff check src/ tests/ | |
| uv run ruff format --check src/ tests/ | |
| - name: Run tests | |
| run: | | |
| uv run pytest --cov=src --cov-fail-under=80 | |