Skip to content

Commit 3011ffc

Browse files
committed
CI: make diagnostics non-fatal and use safer introspection
`playwright.__version__` isn't an attribute on the module, so the previous diagnostics step bombed before the test step ran. Drop that, use `uv pip list` / `uv run pytest --version` / `uv run playwright --version` instead, and mark the step continue-on-error so it can't swallow the actual pytest run. https://claude.ai/code/session_01B2zzr5B8FE4R5ePeQaetaZ
1 parent a8265a0 commit 3011ffc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/integration_app_harness.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@ jobs:
5656
run: uv run playwright install chromium --only-shell
5757

5858
- name: Diagnostics
59+
continue-on-error: true
5960
run: |
60-
uv run python -c "import pytest, playwright, sys; print(f'pytest={pytest.__version__}'); print(f'playwright={playwright.__version__}'); print(f'python={sys.version}')"
61+
uv pip list | grep -iE 'pytest|playwright|asyncio' || true
6162
uv run pytest --version
63+
uv run playwright --version
6264
ls -la ~/.cache/ms-playwright/ || true
65+
uv run python -c "import pytest_playwright; print('pytest_playwright loaded')"
6366
6467
- name: Run app harness tests
6568
env:

0 commit comments

Comments
 (0)