Bump version to 1.1.2 (#83) #273
This file contains 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: 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 |