Spaces:
Running
Running
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install | |
| run: pip install -e '.[dev]' | |
| - name: Sync browser package | |
| run: python scripts/sync_web_python.py | |
| - name: Ruff | |
| run: ruff check src tests scripts | |
| - name: Tests | |
| run: pytest -q | |
| - name: Release check | |
| run: python scripts/release_check.py | |
| - name: Browser syntax | |
| run: node --check app.js && node --check worker.mjs | |