Skip to content

Tests, Typed methods and Pydantic Responses #1

Tests, Typed methods and Pydantic Responses

Tests, Typed methods and Pydantic Responses #1

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
python -m pip install --upgrade pip
pip install setuptools wheel twine
poetry install
- name: Run tests
run: |
poetry run pytest