Skip to content

Merge branch 'dev-0.0.1a2' of https://github.com/KevinCortacero/Karte… #7

Merge branch 'dev-0.0.1a2' of https://github.com/KevinCortacero/Karte…

Merge branch 'dev-0.0.1a2' of https://github.com/KevinCortacero/Karte… #7

name: Python package
on:
push:
branches: [ master, dev-* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest
- name: Check formatting with black
run: |
poetry run black --check .
- name: Run type checking with mypy
run: |
poetry run mypy my_package
- name: Lint with flake8
run: |
poetry run flake8 my_package