Skip to content

WIP

WIP #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
poetry config virtualenvs.create false
- name: Install Dependencies
run: poetry install --no-interaction --no-ansi
- name: Run Tests
run: pytest
- name: Lint with flake8
run: flake8
- name: Format with black
run: black --check .
- name: Sort imports with isort
run: isort --check-only .