Skip to content

refactor tests - move common requests and headers to conftest.py #27

refactor tests - move common requests and headers to conftest.py

refactor tests - move common requests and headers to conftest.py #27

name: Test Coverage
on: ["push", "pull_request"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@master
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sqlalchemy asyncpg uvloop alembic psycopg2 marshmallow marshmallow-jsonschema dacite marshmallow-enum pytest
- name: Run pytest
run: |
PYTHONPATH=$(pwd)
export PYTHONPATH
pytest