Skip to content

docs: publish SCLite 1.0.8 public truth #101

docs: publish SCLite 1.0.8 public truth

docs: publish SCLite 1.0.8 public truth #101

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
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: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install package
run: python -m pip install -e '.[dev]'
- name: Public validation gate
run: scripts/public_validation_gate.sh
- name: Strict schema gate
run: scripts/strict_schema_gate.sh
- name: Security regression gate
run: scripts/security_regression_gate.sh
- name: Ruff
run: python -m ruff check .
- name: Mypy
run: python -m mypy
- name: Run tests
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 build tooling
run: python -m pip install --upgrade pip build twine
- 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/sclite-wheel-smoke
/tmp/sclite-wheel-smoke/bin/python -m pip install --upgrade pip
/tmp/sclite-wheel-smoke/bin/python -m pip install dist/*.whl
/tmp/sclite-wheel-smoke/bin/python -m pip check
/tmp/sclite-wheel-smoke/bin/python -c "import importlib.metadata as md, sclite; assert md.version('sclite-core') == sclite.__version__"