Skip to content

Disable run/serve E2E tests by default (#892)#900

Merged
DingmaomaoBJTU merged 1 commit into
mainfrom
dingmaomaobjtu/disable-run-serve-e2e-tests
Jun 16, 2026
Merged

Disable run/serve E2E tests by default (#892)#900
DingmaomaoBJTU merged 1 commit into
mainfrom
dingmaomaobjtu/disable-run-serve-e2e-tests

Conversation

@DingmaomaoBJTU

Copy link
Copy Markdown
Collaborator

winml run and winml serve are not yet enabled. This PR adds e2e_run / e2e_serve capability markers and auto-skips them during -m e2e runs unless explicitly opted-in.

Changes

  • pyproject.toml — register e2e_run and e2e_serve markers
  • tests/e2e/conftest.py — update pytest_collection_modifyitems to skip tests with these markers by default
  • tests/e2e/test_run_e2e.py — add pytest.mark.e2e_run
  • tests/e2e/test_serve_e2e.py — add pytest.mark.e2e_serve

Opt-in usage (when commands are enabled)

uv run pytest -m "e2e and e2e_run" tests/e2e/test_run_e2e.py
uv run pytest -m "e2e and e2e_serve" tests/e2e/test_serve_e2e.py

Closes #892

winml run and winml serve are not yet enabled. Add e2e_run/e2e_serve
markers and auto-skip them unless explicitly opted-in via -m expression.

To run these tests when the commands are enabled:
  uv run pytest -m 'e2e and e2e_run' tests/e2e/test_run_e2e.py
  uv run pytest -m 'e2e and e2e_serve' tests/e2e/test_serve_e2e.py
@DingmaomaoBJTU DingmaomaoBJTU requested a review from a team as a code owner June 16, 2026 07:36
@DingmaomaoBJTU DingmaomaoBJTU merged commit 1426eb3 into main Jun 16, 2026
9 checks passed
@DingmaomaoBJTU DingmaomaoBJTU deleted the dingmaomaobjtu/disable-run-serve-e2e-tests branch June 16, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E run/serve inference fails for fill-mask, masked-lm, depth-estimation, zero-shot (pre-existing; not covered by daily E2E pipeline)

2 participants