Skip to content

add payload property to all responses #340

add payload property to all responses

add payload property to all responses #340

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
pre-commit:
name: Pre-commit checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --all-files
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: "1.3.1"
- name: Run tests with poetry and pytest
run: |
poetry install
poetry run pytest