fix(ci): fix integration test collection and skip Playwright in CI

- Add @pytest.mark.oauth to OAuth-dependent tests in
  test_scope_authorization.py so they're excluded from single-user job
- Add module-level pytestmark to test_introspection_authorization.py
- Fix single-user marker expression to also exclude oauth smoke tests
- Add --ignore paths for multi-user, qdrant, and RAG evaluation tests
- Uncomment GITHUB_ACTIONS skip in oauth_callback_server fixture
- Add GITHUB_ACTIONS skip to login_flow_oauth_token fixture
- Mount third_party/oidc volume in docker-compose.yml app service
- Add OIDC diagnostic step in CI for playwright jobs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2026-02-28 09:17:03 +01:00
co-authored by Claude Opus 4.6
parent 2d46959d01
commit 989749530c
6 changed files with 43 additions and 13 deletions
+6 -6
View File
@@ -1109,12 +1109,12 @@ def oauth_callback_server():
The server automatically shuts down when the fixture is torn down.
"""
# Skip OAuth tests in GitHub Actions - Playwright browser automation
# has issues with localhost callback server in CI environment
# if os.getenv("GITHUB_ACTIONS"):
# pytest.skip(
# "OAuth tests with browser automation not supported in GitHub Actions CI"
# )
# FIXME: Playwright browser automation has issues with the localhost
# callback server in GitHub Actions CI. Address in a follow-up PR.
if os.getenv("GITHUB_ACTIONS"):
pytest.skip(
"OAuth tests with browser automation not supported in GitHub Actions CI"
)
# Use a dict to store auth codes keyed by state parameter
# This allows multiple concurrent OAuth flows