fix(graphics): accept Sequence color inputs & HSB typing fixes #112
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: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| build-test-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[test] | |
| - name: Install linting and typing tools | |
| run: | | |
| pip install --upgrade pip | |
| pip install ruff mypy | |
| # Optional: run Pyright (Pylance-like) via Node if you want editor-style diagnostics | |
| # - name: Setup Node (for pyright) | |
| # uses: actions/setup-node@v4 | |
| # with: | |
| # node-version: '18' | |
| # - name: Install pyright | |
| # run: npm install -g pyright | |
| # - name: Run pyright | |
| # run: pyright | |
| - name: Run Ruff | |
| run: ruff check . | |
| - name: Run mypy | |
| run: mypy --config-file pyproject.toml | |
| - name: Run tests | |
| run: pytest -q |