From 7683df1cd5df6c3769069b1adc8f8414eb92b3ab Mon Sep 17 00:00:00 2001 From: mtt-ai Date: Wed, 29 Apr 2026 21:04:16 -0400 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd34b55e..2effcec1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,16 +2,25 @@ name: CI on: push: - branches: ["v1", "v2", "v3", "v4", "main"] + branches: ["v1", "v2", "v3", "v4", "v5", "main"] pull_request: - branches: ["v1", "v2", "v3", "v4", "main"] + branches: ["v1", "v2", "v3", "v4", "v5", "main"] + workflow_dispatch: + +concurrency: + group: ci-${{ 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.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -20,11 +29,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'pyproject.toml' - name: Install dependencies run: | - pip install -e ".[mcp,pdf,watch]" - pip install pytest + pip install -e ".[all,test]" - name: Run tests run: |