pyproject.toml instead of setup.py #217
Workflow file for this run
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: API & CLI Py 3.8 - 3.12 (coverage) | |
on: [pull_request] | |
jobs: | |
build: | |
env: | |
OPENSSL_CONF: ${{ github.workspace }}/config/openssl.cnf | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install poetry | |
uses: snok/install-poetry@v1 | |
- name: install | |
run: make install-ci | |
- name: Run tests inside poetry shell | |
run: | | |
poetry shell | |
pytest -v | |
- name: check | |
run: make check | |
- name: test | |
run: | | |
poetry run pytest | |
make test-ci | |
- name: test-dist | |
run: make test-dist |