feat(protocol)!: align the SDK to the supported protocol scope #30
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_call: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install build tools | |
| run: pip install build twine | |
| - name: Install package | |
| run: pip install ".[dev]" | |
| - name: Verify import | |
| run: python -c "from pine_assistant import PineAI, AsyncPineAI, __version__; print(f'pine-assistant {__version__} OK')" | |
| - name: Lint | |
| run: ruff check src tests | |
| # Contract and flow tests run offline against recorded fixtures. | |
| # tests/integration needs a token and spends credits — see its README. | |
| - name: Run tests | |
| run: pytest tests/ -v --ignore=tests/integration | |
| - name: Build distribution | |
| run: python -m build | |
| - name: Check distribution | |
| run: twine check dist/* |