docs: record govengine 0.11 alpha publication #68
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: pytest | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.11', '3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install "sclite-core @ git+https://github.com/rozmiarD/SCLite.git@main" | |
| python -m pip install -e '.[dev]' | |
| - name: Validate public truth | |
| run: python scripts/validate_public_truth.py | |
| - name: Validate alpha readiness | |
| run: python scripts/validate_alpha_readiness.py | |
| - name: Test | |
| run: python -m pytest -q | |
| package-dry-run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Install source dependency and build tooling | |
| run: | | |
| python -m pip install --upgrade pip build twine | |
| python -m pip install "sclite-core @ git+https://github.com/rozmiarD/SCLite.git@main" | |
| - name: Clean build artifacts | |
| run: rm -rf dist build *.egg-info | |
| - name: Build package | |
| run: python -m build | |
| - name: Check package metadata | |
| run: python -m twine check dist/* | |
| - name: Wheel install smoke | |
| run: | | |
| python -m venv /tmp/govengine-wheel-smoke | |
| /tmp/govengine-wheel-smoke/bin/python -m pip install --upgrade pip | |
| /tmp/govengine-wheel-smoke/bin/python -m pip install "sclite-core @ git+https://github.com/rozmiarD/SCLite.git@main" | |
| /tmp/govengine-wheel-smoke/bin/python -m pip install dist/*.whl | |
| /tmp/govengine-wheel-smoke/bin/python -m pip check | |
| /tmp/govengine-wheel-smoke/bin/python -c "import importlib.metadata as md, govengine; assert md.version('govengine') == govengine.__version__" |