Skip to content

upgrade project

upgrade project #149

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install .
- name: Run black
run: black . --check
- name: Run flake8
run: flake8 .
- name: Run isort
run: isort . --check
- name: Test with pytest
run: pytest --cov=src tests/