Clarify agent install setup #19
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 | |
| - develop | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test and package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| cache: pip | |
| - name: Install package with development extras | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" build twine | |
| - name: Run tests | |
| run: pytest | |
| - name: Run Django checks | |
| run: python manage.py check | |
| - name: Check migrations are current | |
| run: python manage.py makemigrations --check --dry-run | |
| - name: Compile Python sources | |
| run: python -m compileall tradingcodex_cli tradingcodex_service apps tests | |
| - name: Build distributions | |
| run: python -m build | |
| - name: Validate distribution metadata | |
| run: python -m twine check dist/* |