ci: support release branches and match client branch (#3990)

- Update workflows to trigger on release-X.Y.x-maint branches
- When PR targets release branch, fetch matching branch from
llama-stack-client-python
- Falls back to main if matching client branch doesn't exist
- Updated workflows:
  - integration-tests.yml
  - integration-auth-tests.yml
  - integration-sql-store-tests.yml
  - integration-vector-io-tests.yml
  - unit-tests.yml
  - backward-compat.yml
  - pre-commit.yml
This commit is contained in:
Ashwin Bharambe 2025-10-30 15:20:34 -07:00 committed by GitHub
parent c2ae42b343
commit 90234d6973
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 57 additions and 15 deletions

View file

@ -4,9 +4,13 @@ run-name: Run the unit test suite
on:
push:
branches: [ main ]
branches:
- main
- 'release-[0-9]+.[0-9]+.x-maint'
pull_request:
branches: [ main ]
branches:
- main
- 'release-[0-9]+.[0-9]+.x-maint'
paths:
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'