Skip to content

fixes(api) allow no v2 api #386

fixes(api) allow no v2 api

fixes(api) allow no v2 api #386

Workflow file for this run

name: Python package
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtual envs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- name: Install project
run: poetry install --no-interaction
- name: Launch tests
run: poetry run pytest
- name: Launch Linting
run: poetry run flake8 --show-source --statistics