Skip to content

Prepare package for PyPI release #1

Prepare package for PyPI release

Prepare package for PyPI release #1

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
name: Import checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for setuptools-scm
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package (core only)
run: pip install -e . --no-deps
- name: Verify top-level imports
run: |
python -c "
import tedbench
assert tedbench.__version__ != '', 'version is empty'
models = tedbench.list_models()
assert len(models) == 12, f'expected 12 models, got {len(models)}'
print('tedbench OK — version:', tedbench.__version__)
"
- name: Verify subpackage imports
run: |
python -c "
from tedbench.model import MiAE, MiAEClassifier, MiAEEncoder
from tedbench.data import LightningStructureDataset
from minesm.layers.blocks import UnifiedTransformerBlock
from minesm.utils.structure.affine3d import Affine3D
print('all subpackage imports OK')
"