Add error handling with Result type and document architecture decisions

This commit is contained in:
Your Name
2026-01-26 11:35:20 +01:00
parent 8ed51fbf39
commit d01585a5b1
42 changed files with 664 additions and 96 deletions
+8 -6
View File
@@ -7,7 +7,7 @@ on:
branches: [ main, master ]
jobs:
test:
test-and-typecheck:
runs-on: ubuntu-latest
strategy:
matrix:
@@ -15,15 +15,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run tests
pip install pytest mypy
- name: Run pytest
run: |
python -m unittest discover -v
pytest -q || true
python -m pytest -q
- name: Run mypy (strict)
run: |
python -m mypy --config-file mypy.ini