Skip to content

Merge pull request #3 from bmarroquin/main #32

Merge pull request #3 from bmarroquin/main

Merge pull request #3 from bmarroquin/main #32

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"]
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
- 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 bytechomp
- run: poetry run pytest