Spaces:
Configuration error
Configuration error

Simplified API key management and moved model instantiation out of configuration file
7482626
verified
name: Python CI | |
on: | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Test with unittest | |
env: | |
ANTHROPIC_API_KEY: ${{ secrets.API_KEY }} | |
run: | | |
python -m unittest tests/test_gradio.py | |
python -m unittest tests/test_linkedin_resume.py | |
python -m unittest tests/test_github.py |