Skip to content

Make ThinkBooster installable without patches (#245) #1233

Make ThinkBooster installable without patches (#245)

Make ThinkBooster installable without patches (#245) #1233

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'docs/**'
- 'LICENSE'
- '.gitignore'
pull_request:
branches: [ "main" ]
types: [opened, synchronize, reopened]
paths-ignore:
- '**.md'
- 'docs/**'
- 'LICENSE'
- '.gitignore'
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Run setup.sh
run: |
./setup.sh --verbose
- name: Install dev dependencies
run: |
pip install -e ".[dev]"
- name: Validate strategy registry
run: |
python tests/strategy_registry.py --validate
- name: Test with pytest (unit tests, integration excluded by default)
env:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
run: |
pytest tests/ -v
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Run setup.sh
run: |
./setup.sh --verbose
- name: Install dev dependencies
run: |
pip install -e ".[dev]"
- name: Run integration tests
env:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
run: |
pytest tests/service_app/test_integration.py -m integration -v