fix: add Playwright, Valkey, and mock-OIDC to CI pipelines
Some checks failed
Dev / test (push) Failing after 46s
Dev / docker (push) Has been skipped

- Add valkey and mock-oidc services to both release and dev workflows
- Install Playwright with Chromium deps for headless e2e tests
- Set WG_REDIS_URL and MOCK_OIDC_HOST env vars for CI
- Make mock OIDC discovery URL configurable via MOCK_OIDC_HOST env var
- Add full test job (unit + e2e) to dev pipeline before Docker build
This commit is contained in:
Stefano Bertelli 2026-03-31 14:48:27 -05:00
parent 2163c89b6a
commit a06ce9e156
3 changed files with 79 additions and 2 deletions

View file

@ -22,7 +22,8 @@ from wiregui.models.configuration import Configuration
from tests.e2e.conftest import FAKE_SERVER_KEY
MOCK_OIDC_DISCOVERY = "http://localhost:9000/test-idp/.well-known/openid-configuration"
MOCK_OIDC_HOST = os.environ.get("MOCK_OIDC_HOST", "localhost")
MOCK_OIDC_DISCOVERY = f"http://{MOCK_OIDC_HOST}:9000/test-idp/.well-known/openid-configuration"
# Separate port for the IdP-seeded app instance
IDP_APP_PORT = 13002