Skip to content

Release v0.1.15

Release v0.1.15 #74

Workflow file for this run

name: PR Check
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install black flake8 pytest mypy build twine types-setuptools
- name: Check formatting
run: black --check .
- name: Lint
run: flake8 --count --show-source --statistics --config=setup.cfg .
- name: Type check with mypy
if: false
run: mypy . --explicit-package-bases --namespace-packages
- name: Run tests
if: false
run: pytest
- name: Build package
run: python -m build
- name: Check if package is installable
run: pip install dist/*.whl