Skip to content

Update infrastructure to use poetry. #222

Update infrastructure to use poetry.

Update infrastructure to use poetry. #222

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches:
- '*'
jobs:
linuxtest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pip install poetry
- name: Set up project
run: poetry install -E cpu -E test
- name: Run tests
run: poetry run pytest --pyargs banzai_floyds.tests -m "not e2e"
macos:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pip install poetry
- name: Set up project
run: poetry install -E cpu -E test
- name: Run tests
run: poetry run pytest --pyargs banzai_floyds.tests -m "not e2e"