Update Discord link in README.md #98
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: CI | |
| on: | |
| push: | |
| branches: [ master ] # Or your default branch | |
| pull_request: | |
| branches: [ master ] # Or your default branch | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12'] # Match requires-python in pyproject.toml | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install dependencies | |
| run: uv sync --locked --all-extras # Installs base and dev dependencies from uv.lock | |
| shell: bash | |
| - name: Run Mypy | |
| run: uv run mypy . | |
| shell: bash | |
| - name: Run Ruff Check | |
| run: uv run ruff check . | |
| shell: bash | |
| - name: Run Pytest | |
| run: uv run pytest | |
| shell: bash | |