This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Merge branch 'main' of https://github.com/knitli/codeweaver #938
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
| # SPDX-FileCopyrightText: 2025 Knitli Inc. | |
| # SPDX-FileContributor: Adam Poulemanos <adam@knit.li> | |
| # | |
| # SPDX-License-Identifier: MIT OR Apache-2.0 | |
| name: CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - staging | |
| paths: | |
| - src/** | |
| - tests/** | |
| - pyproject.toml | |
| - uv.lock | |
| - '**/mise.*.toml' | |
| - '**/mise.toml' | |
| - .github/workflows/ci.yml | |
| - .github/workflows/_reusable-*.yml | |
| - .github/actions/** | |
| pull_request: | |
| branches: | |
| - main | |
| - staging | |
| paths: | |
| - src/** | |
| - tests/** | |
| - pyproject.toml | |
| - uv.lock | |
| - mise.toml | |
| - mise.ci.toml | |
| - .github/workflows/ci.yml | |
| - .github/workflows/_reusable-*.yml | |
| - .github/actions/** | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test | |
| uses: ./.github/workflows/_reusable-test.yml | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| CODEWEAVER_VECTOR_STORE_URL: ${{ secrets.CODEWEAVER_VECTOR_STORE_URL }} | |
| QDRANT__SERVICE__API_KEY: ${{ secrets.QDRANT__SERVICE__API_KEY }} | |
| VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }} | |
| with: | |
| test-markers: "not docker and not qdrant and not dev_only and not skip_ci and not network and not external_api and not flaky and not real_providers" | |
| upload-coverage: true | |
| run-quality-checks: true | |
| lint: | |
| name: Lint | |
| uses: ./.github/workflows/_reusable-lint.yml | |
| secrets: inherit | |
| build: | |
| name: Build | |
| needs: | |
| - test | |
| - lint | |
| uses: ./.github/workflows/_reusable-build.yml | |
| # Build doesn't need secrets. |