Skip to content

Commit 15440f1

Browse files
committed
chore: fix detection of lightspeed credentials on GHA
1 parent d671f2d commit 15440f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ jobs:
365365
task build --status
366366
env:
367367
# defined inside 'ci' environment
368-
LIGHTSPEED_API_ENDPOINT: ${{ secrets.LIGHTSPEED_API_ENDPOINT }}
369-
LIGHTSPEED_USER: ${{ secrets.LIGHTSPEED_USER }}
368+
LIGHTSPEED_API_ENDPOINT: ${{ vars.LIGHTSPEED_API_ENDPOINT || secrets.LIGHTSPEED_API_ENDPOINT }}
369+
LIGHTSPEED_USER: ${{ vars.LIGHTSPEED_USER || secrets.LIGHTSPEED_USER }}
370370
LIGHTSPEED_PASSWORD: ${{ secrets.LIGHTSPEED_PASSWORD }}
371371
timeout-minutes: 30
372372

test/selenium/utils/ui_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def user_is_auth(driver: WebDriver) -> bool:
160160

161161
def sso_auth_flow( # noqa: PLR0913
162162
driver: WebDriver,
163-
username: str | None = LIGHTSPEED_USER,
164-
password: str | None = LIGHTSPEED_PASSWORD,
163+
username: str = LIGHTSPEED_USER,
164+
password: str = LIGHTSPEED_PASSWORD,
165165
*,
166166
admin_login: bool = False,
167167
no_wca: bool = False,

0 commit comments

Comments
 (0)