Skip to content

Use left-stitched instead of patched columns for target clusters #251

Use left-stitched instead of patched columns for target clusters

Use left-stitched instead of patched columns for target clusters #251

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
poetry-version: ["1.6.1"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Fix poetry setuptools
run: |
# Source: https://github.com/python-poetry/poetry/issues/7611#issuecomment-1711443539
poetry self add setuptools
- name: Install project dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest .
- name: Check format
run: |
poetry run black --check .
- name: Run linter
run: |
poetry run flake8 .
- name: Check type hints
run: |
poetry run mypy --install-types --non-interactive .
- name: Check imports being sorted
run: |
poetry run isort . --check