Completely verify tab assignments against holes for keying #93
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 - Test and Validate BoxMaker | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Test BoxMaker Functionality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' # Latest Python version | |
| - name: Install and cache APT packages | |
| uses: tecolicom/actions-use-apt-tools@v1 | |
| with: | |
| tools: libgirepository-2.0-dev gir1.2-glib-2.0 libglib2.0-dev libcairo2-dev gobject-introspection pkg-config python3-dev | |
| cache: yes | |
| method: timestamp | |
| - name: Cache pip packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt', '**/pyproject.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip- | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[dev] | |
| - name: Run linting with flake8 | |
| run: | | |
| flake8 tabbedboxmaker tests --count --select=E9,F63,F7,F82 --show-source --statistics | |
| flake8 tabbedboxmaker tests --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics | |
| - name: Run test suite | |
| run: | | |
| echo "🧪 Running test suite..." | |
| python -m pytest -v |