Skip to content

Fix TestClient.client is None #208

Fix TestClient.client is None

Fix TestClient.client is None #208

Workflow file for this run

name: Test Suite
on:
push:
pull_request:
branches: ['main']
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
- name: Install dependencies
run: pip install -e .[test]
- name: Tests
run: scripts/test.sh
- name: Upload coverage
uses: codecov/codecov-action@v3