Skip to content

Back to using poetry #25

Back to using poetry

Back to using poetry #25

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: curl -sSL curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: poetry install --no-interaction --no-ansi
- name: Start Docker service
run: sudo service docker start
- name: Run tests
run: poetry run pytest