a2ui-project / a2ui-project/a2ui
Add GEMINI_API_KEY as env variable for bot runs, to enable live tests.
- 主要语言
- TypeScript
- 星标
- 16.4k
- 派生
- 1.3k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 134
描述
_↴ Ported from [flutter/genui#440](https://github.com/flutter/genui/issues/440) — originally opened by [polina-c](https://github.com/polina-c) on 2025-10-24._
_Original labels: P2, c: ebb_
---
Add GEMINI_API_KEY as env variable for bot runs and remove this condition, to start exercising tests against real model.
https://github.com/flutter/genui/blob/5c94d892666ea5935bb2b59e0aca94ef91c84a61/examples/custom_backend/test/backend_api_test.dart#L18
It will need to setup environment on github.
The tests can be configured to run on schedule, not on pre-submit, so that they are not blocking development.
In this case we will see results in the tab 'Actions'.
---
### 1 comment(s) from the original issue
**[jacobsimionato](https://github.com/jacobsimionato)** commented on 2025-11-03:
Removing the milestone label because this is a general purpose issue that would benefit the entire project.
贡献指南
调研方向
The issue points to a specific test file: examples/custom_backend/test/backend_api_test.dart, line 18. First, examine that line to understand the condition that needs removal. Then, research how to add GEMINI_API_KEY as a GitHub Actions secret and configure the workflow to run on a schedule. Look for existing GitHub Actions workflows in the repository to understand the pattern. The goal is to enable live tests against the Gemini API without blocking pre-submit checks.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, github-actions, typescript
- 领域
- backend-api-design, ci-cd, testing
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100