docs: Trim offline signing to what Core's tutorial lacks #692
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: Python package | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| SOURCE_DATE_EPOCH: "1763060600" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: python -m pip install --upgrade pip | |
| - run: python -m pip install --require-hashes -r requirements/cli-build-dependencies.txt | |
| - run: python -m pip install --no-build-isolation -e '.[dev]' | |
| - run: python -m pip check | |
| - run: python -m pytest -q | |
| - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' | |
| run: python -O -m pytest -q | |
| - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' | |
| run: python tools/verify_correction_constants.py | |
| - run: python -m mypy src/codex32 | |
| - run: python -m ruff check . | |
| - run: python -m ruff format --check . | |
| - run: python tools/differential_correction.py --verify | |
| - run: python -m build --no-isolation | |
| - run: python tools/verify_wheel_environment.py | |
| compatibility: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.14", "3.15"] | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: ${{ matrix.python-version == '3.15' }} | |
| - run: python -m pip install --upgrade pip | |
| - run: python -m pip install --require-hashes -r requirements/cli-build-dependencies.txt | |
| - run: python -m pip install --no-build-isolation -e '.[dev]' | |
| - run: python -m pip check | |
| - run: python -m pytest -q |