Release 0.2.27 #36
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: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install | |
| run: | | |
| python -m pip install -U pip | |
| python -m pip install --no-cache-dir -e ".[dev]" | |
| - name: Pytest | |
| env: | |
| ABSTRACT_E2E_GATEWAY_SPLIT: "0" | |
| ABSTRACT_E2E_LMSTUDIO: "0" | |
| ABSTRACTGATEWAY_EMBEDDING_PROVIDER: "disabled" | |
| run: python -m pytest | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Build | |
| run: | | |
| python -m pip install -U pip | |
| python -m pip install build twine | |
| python -m build | |
| python -m twine check dist/* | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install | |
| run: | | |
| python -m pip install -U pip | |
| python -m pip install --no-cache-dir -e ".[docs]" | |
| - name: MkDocs build | |
| run: mkdocs build -q | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: docker/abstractgateway-server/Dockerfile | |
| push: false | |
| build-args: | | |
| ABSTRACTGATEWAY_INSTALL_MODE=local |