Skip to content

feat(modular): Extract persistent-ai-memory as standalone module #27

feat(modular): Extract persistent-ai-memory as standalone module

feat(modular): Extract persistent-ai-memory as standalone module #27

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, '3.10', 3.11]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov flake8
- name: Lint with flake8
run: |
# Stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# Exit-zero treats all errors as warnings
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test imports
run: |
python -c "from src.osa_complete_final import create_complete_osa; print('✅ Imports working')"
- name: Run basic tests
run: |
python -c "print('✅ Basic tests passed')"