Skip to content

docs!: uploaded sunsetting/archival note and archived old README #47

docs!: uploaded sunsetting/archival note and archived old README

docs!: uploaded sunsetting/archival note and archived old README #47

name: RAGManager Test (Text) - Anthropic
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Anthropic Text test
env:
CLAUDE_API_KEY: ${{ secrets.CLAUDE_API_KEY }}
run: |
# Create temporary file for API key
echo "$CLAUDE_API_KEY" > /tmp/claude_key
# Set environment variable to point to the file
export CLAUDE_API_KEY=/tmp/claude_key
# Run test
python -m unittest tests.test_rag_text.TestAnthropicRAG
# Clean up
rm /tmp/claude_key