diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ad5e2c7ca..2bf3bfcb1 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -42,7 +42,7 @@ jobs: run-replay-mode-tests: runs-on: ubuntu-latest - name: ${{ format('Integration Tests ({0}, {1}, {2}, client={3}, {4})', matrix.client-type, matrix.setup, matrix.python-version, matrix.client-version, matrix.suite) }} + 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) }} strategy: fail-fast: false @@ -55,12 +55,7 @@ jobs: # Weekly schedule (Sun 1 AM): vllm+base # Input test-setup=ollama-vision: ollama-vision+vision # Default (including test-setup=ollama): both ollama+base and ollama-vision+vision - include: >- - ${{ - github.event.schedule == '1 0 * * 0' && fromJSON('[{"setup": "vllm", "suite": "base"}]') - || github.event.inputs.test-setup == 'ollama-vision' && fromJSON('[{"setup": "ollama-vision", "suite": "vision"}]') - || fromJSON('[{"setup": "ollama", "suite": "base"}, {"setup": "ollama-vision", "suite": "vision"}]') - }} + config: ${{ github.event.schedule == '1 0 * * 0' && fromJSON('[{"setup": "vllm", "suite": "base"}]') || github.event.inputs.test-setup == 'ollama-vision' && fromJSON('[{"setup": "ollama-vision", "suite": "vision"}]') || fromJSON('[{"setup": "ollama", "suite": "base"}, {"setup": "ollama-vision", "suite": "vision"}]') }} steps: - name: Checkout repository @@ -71,14 +66,14 @@ jobs: with: python-version: ${{ matrix.python-version }} client-version: ${{ matrix.client-version }} - setup: ${{ matrix.setup }} - suite: ${{ matrix.suite }} + setup: ${{ matrix.config.setup }} + suite: ${{ matrix.config.suite }} inference-mode: 'replay' - name: Run tests uses: ./.github/actions/run-and-record-tests with: stack-config: ${{ matrix.client-type == 'library' && 'ci-tests' || 'server:ci-tests' }} - setup: ${{ matrix.setup }} + setup: ${{ matrix.config.setup }} inference-mode: 'replay' - suite: ${{ matrix.suite }} + suite: ${{ matrix.config.suite }}