@@ -6,7 +6,10 @@ private let apiKey = ProcessInfo.processInfo.environment["OPENROUTER_API_KEY"] ?
66private let hasAPIKey = !apiKey. isEmpty
77private let model = ProcessInfo . processInfo. environment [ " SMOKE_OPENROUTER_MODEL " ] ?? " google/gemini-3-flash-preview "
88
9- @Suite ( . enabled( if: hasAPIKey, " Requires OPENROUTER_API_KEY environment variable " ) )
9+ @Suite (
10+ . enabled( if: hasAPIKey, " Requires OPENROUTER_API_KEY environment variable " ) ,
11+ . tags( . smoke, . provider, . requiresNetwork)
12+ )
1013struct OpenRouterSmokeTests {
1114 let client = OpenAIClient . openRouter (
1215 apiKey: apiKey,
@@ -135,7 +138,10 @@ struct OpenRouterSmokeTests {
135138private let reasoningModel = ProcessInfo . processInfo. environment [ " SMOKE_OPENROUTER_REASONING_MODEL " ]
136139 ?? " z-ai/glm-5 "
137140
138- @Suite ( . enabled( if: hasAPIKey, " Requires OPENROUTER_API_KEY " ) )
141+ @Suite (
142+ . enabled( if: hasAPIKey, " Requires OPENROUTER_API_KEY " ) ,
143+ . tags( . smoke, . provider, . requiresNetwork)
144+ )
139145struct OpenRouterReplayPolicySmokeTests {
140146 let client = OpenAIClient . openRouter (
141147 apiKey: apiKey,
@@ -208,8 +214,13 @@ private let responsesModel =
208214 ProcessInfo . processInfo. environment [ " SMOKE_OPENROUTER_RESPONSES_MODEL " ] ?? " "
209215private let hasResponsesModel = !responsesModel. isEmpty
210216
211- @Suite ( . enabled( if: hasAPIKey && hasResponsesModel,
212- " Requires OPENROUTER_API_KEY and SMOKE_OPENROUTER_RESPONSES_MODEL " ) )
217+ @Suite (
218+ . enabled(
219+ if: hasAPIKey && hasResponsesModel,
220+ " Requires OPENROUTER_API_KEY and SMOKE_OPENROUTER_RESPONSES_MODEL "
221+ ) ,
222+ . tags( . smoke, . provider, . requiresNetwork)
223+ )
213224struct OpenRouterResponsesSmokeTests {
214225 func makeClient( ) -> ResponsesAPIClient {
215226 ResponsesAPIClient (
0 commit comments