From 960da4e52906a545e61b5f88db8fc1d8a3aa3857 Mon Sep 17 00:00:00 2001 From: kamilbenkirane Date: Thu, 15 Jan 2026 17:11:25 +0100 Subject: [PATCH 1/5] ci: add missing API key secrets for new providers Add GROQ_API_KEY, MOONSHOT_API_KEY, and DEEPSEEK_API_KEY to integration tests environment. --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bd0579aa..1d1d145a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,6 +70,9 @@ jobs: XAI_API_KEY: ${{ secrets.XAI_API_KEY }} ELEVENLABS_API_KEY: ${{ secrets.ELEVENLABS_API_KEY }} GRADIUM_API_KEY: ${{ secrets.GRADIUM_API_KEY }} + GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} + MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }} + DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} run: uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto build: From cbbdaf6a900583fabee3a4f1929744ab9082d5e7 Mon Sep 17 00:00:00 2001 From: kamilbenkirane Date: Thu, 15 Jan 2026 17:16:46 +0100 Subject: [PATCH 2/5] deps: add google-auth as required dependency Google Cloud TTS requires google-auth for ADC authentication. Adding as a core dependency (~229KB) to fix CI integration test failures. Co-Authored-By: Claude Opus 4.5 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 1ef1c336..0a61fe29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ dependencies = [ "websockets>=15.0", "asgiref>=3.11.0", "filetype>=1.2.0", + "google-auth>=2.0.0", ] [project.urls] From 10fd17e5d8bc61c3836324931c9d4756703cbd39 Mon Sep 17 00:00:00 2001 From: kamilbenkirane Date: Thu, 15 Jan 2026 17:24:29 +0100 Subject: [PATCH 3/5] ci: skip stream edit integration test in publish Exclude streaming image edit test from publish workflow integration tests until streaming edit is supported. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1d1d145a..e4ffe6b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,7 +73,7 @@ jobs: GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }} DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} - run: uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto + run: uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto --ignore=tests/integration_tests/images/test_stream_edit.py build: needs: [validate-release, run-ci, integration-tests] From f15e4328b45ab08d85f76efac51cf17d30243676 Mon Sep 17 00:00:00 2001 From: kamilbenkirane Date: Thu, 15 Jan 2026 17:31:33 +0100 Subject: [PATCH 4/5] ci: skip Google Gemini TTS tests (requires ADC) Deselect google-gemini-2.5-flash-tts and google-gemini-2.5-pro-tts test_speak cases until ADC auth is configured in CI. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e4ffe6b8..3b856111 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,7 +73,7 @@ jobs: GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }} DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} - run: uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto --ignore=tests/integration_tests/images/test_stream_edit.py + run: uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto --ignore=tests/integration_tests/images/test_stream_edit.py --deselect tests/integration_tests/audio/test_speak.py::test_speak[google-gemini-2.5-flash-tts] --deselect tests/integration_tests/audio/test_speak.py::test_speak[google-gemini-2.5-pro-tts] build: needs: [validate-release, run-ci, integration-tests] From 354cfade3892359bfe7a267842ce424d0e82fb07 Mon Sep 17 00:00:00 2001 From: kamilbenkirane Date: Thu, 15 Jan 2026 17:33:28 +0100 Subject: [PATCH 5/5] ci: fix quoting for deselect arguments in pytest command --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b856111..8cf7b8f3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,7 +73,11 @@ jobs: GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }} DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} - run: uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto --ignore=tests/integration_tests/images/test_stream_edit.py --deselect tests/integration_tests/audio/test_speak.py::test_speak[google-gemini-2.5-flash-tts] --deselect tests/integration_tests/audio/test_speak.py::test_speak[google-gemini-2.5-pro-tts] + run: | + uv run pytest tests/integration_tests -m integration -v --dist=worksteal -n auto \ + --ignore=tests/integration_tests/images/test_stream_edit.py \ + "--deselect=tests/integration_tests/audio/test_speak.py::test_speak[google-gemini-2.5-flash-tts]" \ + "--deselect=tests/integration_tests/audio/test_speak.py::test_speak[google-gemini-2.5-pro-tts]" build: needs: [validate-release, run-ci, integration-tests]