release(v0.8.1): Moonshot reasoning 模型 temperature 兼容性 #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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: pip | |
| - name: Install project (with dev extras) | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e '.[dev]' | |
| - name: Lint (ruff) | |
| run: ruff check . | |
| - name: Type check (mypy) | |
| run: mypy deeptrade | |
| - name: Test (pytest) | |
| run: pytest | |
| - name: Build sanity check | |
| run: | | |
| pip install build | |
| python -m build |