mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 18:00:36 +00:00
add a workflow to test against postgres
This commit is contained in:
parent
8e18584c67
commit
680f44f01c
6 changed files with 334 additions and 2 deletions
7
.github/workflows/integration-tests.yml
vendored
7
.github/workflows/integration-tests.yml
vendored
|
|
@ -67,6 +67,7 @@ jobs:
|
|||
needs: generate-matrix
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ format('Integration Tests ({0}, {1}, {2}, client={3}, {4})', matrix.client-type, matrix.config.setup, matrix.python-version, matrix.client-version, matrix.config.suite) }}
|
||||
if: ${{ !matrix.config.client_types || contains(matrix.config.client_types, matrix.client-type) }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -97,7 +98,11 @@ jobs:
|
|||
env:
|
||||
OPENAI_API_KEY: dummy
|
||||
with:
|
||||
stack-config: ${{ matrix.client-type == 'library' && 'ci-tests' || matrix.client-type == 'server' && 'server:ci-tests' || 'docker:ci-tests' }}
|
||||
stack-config: >-
|
||||
${{ matrix.config.stack_config
|
||||
|| (matrix.client-type == 'library' && 'ci-tests')
|
||||
|| (matrix.client-type == 'server' && 'server:ci-tests')
|
||||
|| 'docker:ci-tests' }}
|
||||
setup: ${{ matrix.config.setup }}
|
||||
inference-mode: 'replay'
|
||||
suite: ${{ matrix.config.suite }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue