Skip to content

Add an optional wrapping to the embedding #270

Add an optional wrapping to the embedding

Add an optional wrapping to the embedding #270

name: Python Unit Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-tests:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup Python "${{ matrix.python-version }}"
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Compile Python extension
env:
PIP_CONFIG_FILE: "${{ github.workspace }}/pip.conf"
run: pip install --verbose --editable '.[test]'
- name: Run Python unit-tests
run: pytest -vv -s