README update #11
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: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Validate lockfile | |
| run: | | |
| uv lock --check | |
| - name: Sync dependencies | |
| run: | | |
| uv sync --frozen --no-default-groups --group test --group docs --extra rag | |
| - name: Run tests | |
| run: | | |
| PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 uv run python -m pytest -q | |
| - name: Build package | |
| run: | | |
| uv build | |
| - name: Upload dist artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: turboagents-dist | |
| path: dist/* |