π abukharov268 is running checks #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Checks | |
| run-name: π ${{ github.actor }} is running checks | |
| on: [push] | |
| env: | |
| UV_LINK_MODE: copy | |
| jobs: | |
| Checks: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/insight-platform/savant-rs-py314:savant-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v5 | |
| - name: Install build-essential | |
| run: apt-get update && apt-get install -y build-essential | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: uv pip install --system --group dev --requirements pyproject.toml | |
| - name: Run Pyrefly Type Checker | |
| run: pyrefly check --summarize-errors . | |
| - name: Lint code with Ruff | |
| run: ruff check --output-format=github | |
| - name: Check sorted imports with Ruff | |
| run: ruff check --select I --output-format=github | |
| - name: Check code formatting with Ruff | |
| run: ruff format --diff | |
| - name: Run pytest unit/integration tests | |
| run: pytest . |