Skip to content

fix(database): add init function for renamed DriverDatabase #8

fix(database): add init function for renamed DriverDatabase

fix(database): add init function for renamed DriverDatabase #8

name: Run all tests and type checks
on: push
defaults:
run:
shell: bash
jobs:
run-all-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Intall dev dependencies
run: python -m pip install .[dev]
- name: Run tests
run: pytest tests/
run-type-checker:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Intall dev dependencies
run: python -m pip install .[dev]
- name: Run type checker for tests directory
run: mypy tests/
- name: Run type checker for src directory
run: mypy src/