diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..d2eecb6 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,53 @@ +name: Test Suite + +on: + pull_request: + push: + branches: + - main + +permissions: + contents: read + +jobs: + test: + name: Pytest (Python ${{ matrix.python-version }}) + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.11", "3.12"] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: pip + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run tests + env: + PYTHONPATH: . + GOOGLE_CLIENT_ID: test-client-id + GOOGLE_CLIENT_SECRET: test-client-secret + GOOGLE_ACCOUNTS: test + GOOGLE_EMAILS: '{"test":"test@example.com"}' + GOOGLE_TIER1: test + GOOGLE_TIER2: "" + GITHUB_TOKEN: test-github-token + GITHUB_USERNAME: test-user + GITHUB_ORG: test-org + SLACK_BOT_TOKEN: test-slack-bot-token + SLACK_APP_TOKEN: test-slack-app-token + SLACK_AUTHORIZED_USERS: U123TEST + OPENAI_API_KEY: test-openai-key + ANTHROPIC_API_KEY: test-anthropic-key + run: pytest -q diff --git a/README.md b/README.md index 7f55f0d..660f64c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ A personal knowledge graph system that aggregates data from multiple Google acco > Disclaimer: This project is built by a scientist, not a security specialist. Review, harden, and use it at your own discretion, especially before handling sensitive data or deploying in production environments. +## Public Deployment Warning + +This project is designed first for personal/local use. Do not expose it publicly or use it in multi-user/production environments without a full security review, least-privilege credentials, network hardening, and strict access controls. + ## Features ### Core Capabilities