Repository navigation
Prepare public release 0.4.0 #7
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: 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 |