SDK-2775: Add support for new capture_type property on Static Liveness resources - Python #872
Workflow file for this run
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: Unit Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Test (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [3.9, "3.10","3.11","3.12"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2.3.1 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: pip install -U setuptools | |
| - run: pip install -r requirements.txt | |
| - run: pip install -e .[dev] | |
| - run: pytest -v | |
| examples: | |
| name: Check Examples | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2.3.1 | |
| with: | |
| python-version: 3.9 | |
| - run: pip install --upgrade setuptools | |
| - run: pip install -e . | |
| - run: pushd examples/aml && pip install -r requirements.txt && popd | |
| - run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd | |
| - run: pushd examples/yoti_example_flask && pip install -r requirements.txt && popd | |
| - run: pushd examples/doc_scan && pip install -r requirements.txt && popd |