Harden Golden Braid L0 domesticator and expand feature library workbench #21
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: Tests | |
| # Runs the pytest suite on every push to master and on every PR so | |
| # regressions are caught before they ship to PyPI via publish.yml. | |
| # Matrix covers the Python versions declared in pyproject.toml | |
| # (requires-python = ">=3.10") so a 3.10-only syntax regression fails | |
| # here instead of at `pip install` time on someone else's machine. | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test: | |
| name: pytest (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install package + dev deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Run pytest | |
| run: python -m pytest -q --tb=short | |
| env: | |
| # Headless terminal so Textual's pilot doesn't try to detect a TTY. | |
| TERM: dumb |