Skip to content

Add a function to repair a database #146

Add a function to repair a database

Add a function to repair a database #146

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unittests
on:
push:
branches:
- master
- main
- '[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:
jobs:
unittests:
continue-on-error: true
strategy:
matrix:
os: [
windows-2025,
macos-15,
ubuntu-22.04
]
python-version: [
"3.10",
"3.11",
"3.12"
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
pip install .
- name: Test with unittest
run: python -m unittest discover -v -s tests