Skip to content

0.9: update versions #8

0.9: update versions

0.9: update versions #8

Workflow file for this run

name: test_and_build
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry install
- name: Check codestyle
run: |
black --check .
isort --check-only -rc .
- name: Run tests
run: pytest -v tests
- name: Build package
run: poetry build
- name: Build docs
run: cd docs && make html