ci: prepare Bedrock schema tests and keep smoke tool requirements additive
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Set up locked Python and test dependencies
|
||||
uses: ./.github/actions/setup-pm
|
||||
with:
|
||||
extras: '["all", "dev", "anthropic", "mistral", "fal", "modal", "daytona", "hindsight", "parallel-web"]'
|
||||
extras: '["all", "dev", "anthropic", "bedrock", "mistral", "fal", "modal", "daytona", "hindsight", "parallel-web"]'
|
||||
prune-python-cache: true
|
||||
|
||||
- name: Restore per-file duration cache
|
||||
@@ -133,7 +133,7 @@ jobs:
|
||||
- name: Set up locked Python and test dependencies
|
||||
uses: ./.github/actions/setup-pm
|
||||
with:
|
||||
extras: '["all", "dev", "anthropic", "mistral", "fal", "modal", "daytona", "hindsight", "parallel-web"]'
|
||||
extras: '["all", "dev", "anthropic", "bedrock", "mistral", "fal", "modal", "daytona", "hindsight", "parallel-web"]'
|
||||
prune-python-cache: true
|
||||
|
||||
- name: Run e2e tests
|
||||
|
||||
@@ -196,7 +196,7 @@ def test_smoke_matrix_native_routes_and_driver_only_dependencies():
|
||||
steps = job['steps']
|
||||
setup = next(step for step in steps if step.get('uses') == './.github/actions/setup-pm')
|
||||
assert setup['with']['toolchain'] == 'all' and not setup['with'].get('extras')
|
||||
assert setup['with']['packages'] == 'ffmpeg'
|
||||
assert 'ffmpeg' in setup['with']['packages'].split(',')
|
||||
assert all(setup['with'][key] is False for key in ('cache', 'cache-node', 'cache-python'))
|
||||
install = next(step for step in steps if step.get('name') == 'Install locked chat driver dependencies')
|
||||
assert steps.index(setup) < steps.index(install)
|
||||
|
||||
@@ -124,7 +124,7 @@ OAuth needs a browser, but the loopback callback runs on the machine where Herme
|
||||
|
||||
### Profile setup {#profile-setup}
|
||||
|
||||
If you use [Hermes profiles](/user-guide/profiles), the Portal refresh token is automatically shared across all profiles via a shared token store. Sign in once on any profile, and the rest pick it up automatically — no need to repeat the OAuth flow per profile.
|
||||
If you use [Hermes profiles](../user-guide/profiles.md), the Portal refresh token is automatically shared across all profiles via a shared token store. Sign in once on any profile, and the rest pick it up automatically — no need to repeat the OAuth flow per profile.
|
||||
|
||||
## Using the Portal day-to-day
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ OAuth 需要浏览器,但回调的 loopback 运行在 Hermes 所在的机器
|
||||
|
||||
### Profile 配置 {#profile-setup}
|
||||
|
||||
如果你使用 [Hermes profiles(配置文件)](/user-guide/profiles),Portal 的 refresh token 会通过共享令牌存储自动在所有 profile 间共享。在任意 profile 上登录一次,其余 profile 自动获取——无需为每个 profile 重复 OAuth 流程。
|
||||
如果你使用 [Hermes profiles(配置文件)](../user-guide/profiles.md),Portal 的 refresh token 会通过共享令牌存储自动在所有 profile 间共享。在任意 profile 上登录一次,其余 profile 自动获取——无需为每个 profile 重复 OAuth 流程。
|
||||
|
||||
## 日常使用 Portal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user