ci: register browser pytest marker
Some checks are pending
CI / Python tests (push) Waiting to run
CI / Frontend typecheck + tests (push) Waiting to run
Mirror / mirror (push) Waiting to run

Silences PytestUnknownMarkWarning from '-m not browser' in GitHub
Actions CI. Any test requiring headed Chromium (Kasada bypass,
scraper integration) should be decorated with @pytest.mark.browser
so it is excluded from CI automatically.

Closes #40
This commit is contained in:
pyr0ball 2026-04-15 20:30:26 -07:00
parent f53aae1ae0
commit 29922ede47

View file

@ -39,6 +39,9 @@ include = ["app*", "api*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"browser: tests that require a headed Chromium browser (Xvfb + playwright install required)",
]
[tool.ruff]
line-length = 100