Skip to content

chore: updating the api client to add a Protect route #652

chore: updating the api client to add a Protect route

chore: updating the api client to add a Protect route #652

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==${{ vars.POETRY_V2_VERSION }}
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: "poetry"
python-version: ${{ matrix.python-version }}
cache-dependency-path: "pyproject.toml"
- name: Install invoke
run: pipx install invoke
- name: Install Dependencies
run: invoke install
- name: Validate Types
run: |
invoke type-check
- name: Run Tests
run: invoke test-report-xml
- name: Upload Test Coverage Reports
uses: codecov/codecov-action@v5.4.3
with:
token: ${{ secrets.CODECOV_TOKEN }}