Skip to content

Update README.md

Update README.md #2

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
lint:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --no-interaction
- name: Lint with Ruff
run: poetry run ruff check src/ tests/
- name: Type check with MyPy
run: poetry run mypy src/notetaker/ --ignore-missing-imports --no-strict-optional
continue-on-error: true # non-blocking for now
test:
name: Test Suite
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install FFmpeg (Ubuntu)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ffmpeg
- name: Install FFmpeg (Windows)
if: runner.os == 'Windows'
run: choco install ffmpeg -y
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --no-interaction
- name: Run tests
run: poetry run pytest -v --tb=short
docker:
name: Docker Build
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t deep-dive-notetaker:test .
- name: Verify container starts
run: |
docker run -d --name notetaker-test -p 8000:8000 deep-dive-notetaker:test
sleep 10
curl -sf http://localhost:8000/health || echo "Health check skipped (Ollama not available)"
docker stop notetaker-test
docker rm notetaker-test