Skip to content

Merge pull request #1 from zkurtz/fix-ci #4

Merge pull request #1 from zkurtz/fix-ci

Merge pull request #1 from zkurtz/fix-ci #4

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
name: continuous-integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12.2'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --no-interaction --no-ansi
- name: Run unit tests with pytest
run: pytest
- name: Check code formatting with Black
run: black --check .
- name: Check code quality with Ruff
run: ruff check .
- name: Check type hints with pyright
run: pyright