Skip to content

testcontainers not needed (yet) #34

testcontainers not needed (yet)

testcontainers not needed (yet) #34

Workflow file for this run

name: build-test
on:
- push
- pull_request
permissions:
contents: read
jobs:
build:
name: poetry build and test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
poetry-version: ["1.8.4"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry==${{ matrix.poetry-version }}
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
poetry config virtualenvs.path .virtualenvs
- name: Install project
run: poetry install --with test --no-interaction
- name: Test with poetry
run: poetry run pytest