Skip to content

Quality of Life Update #34

Quality of Life Update

Quality of Life Update #34

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
allow-prereleases: true
- run: poetry install --with=dev
- run: poetry run pylint --max-line-length=100 bytechomp --disable=duplicate-code
- run: poetry run black --verbose --check --diff --line-length=100 bytechomp
- run: poetry run mypy --strict bytechomp
- run: poetry run pytest