test(sandbox): extend tests; fix router lazy init; escape static chec… #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Cases Check | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| - name: Install dependencies | |
| run: | | |
| uv venv --python 3.12 | |
| uv pip install -e ".[dev]" | |
| uv pip install -e ".[test]" | |
| - name: Run test cases | |
| run: | | |
| source .venv/bin/activate | |
| OPENAI_API_KEY=mock-key DEEPSEEK_API_KEY=mock-key TAVILY_API_KEY=mock-key make test |