Skip to content

Prepare public release 0.4.0 #7

Prepare public release 0.4.0

Prepare public release 0.4.0 #7

Workflow file for this run

name: tests
permissions:
contents: read
on:
push:
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10", "3.12"]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- run: python -m pip install -e .
- run: python scripts/public_release_audit.py
- run: python -m unittest discover -s tests -v
- run: python -m pip wheel . --no-deps -w dist
- run: python -m pip install --force-reinstall dist/*.whl
- run: python -c "import ocrdrop; assert ocrdrop.__version__ == '0.4.0'"
- run: scnet-ocrdrop --help