quick readme fix #3
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: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| jobs: | |
| build-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Build sdist and wheel | |
| run: | | |
| python -m pip install --upgrade build | |
| python -m build | |
| # --no-deps: the smoke test only imports TDOAK itself; depthai/opencv wheels are | |
| # large and irrelevant to verifying the package layout. | |
| - name: Install wheel and verify import | |
| run: | | |
| python -m pip install --no-deps dist/*.whl | |
| python -c "import TDOAK; print(TDOAK.__version__, TDOAK.toxPath(), TDOAK.toxPath('TDOAKCamCtl'), TDOAK.examplesPath())" | |
| python -c "from TDOAK.core.state import workerState; d = workerState('/x'); assert workerState('/x') is d" | |
| python -c "from TDOAK.core.constants import HAND_CROP_PADDING" |