Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion buildkite/test-template-ci.j2
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ COVERAGE_FILE={{ coverage_file }} {{ cmd | replace("pytest ", "pytest --cov=vllm

{# If we have matched targets, run only those specific tests #}
{% if matched_targets | length > 0 %}
pytest -v -s{{ marker_ns.markers }} {{ matched_targets | join(' ') }}
{# Extract and preserve export statements from original commands #}
{%- set all_commands = step.commands if step.commands else ([step.command] if step.command else []) %}
{%- for cmd in all_commands %}
{%- if cmd[:7] == 'export ' %}
{{ cmd }} && {% endif %}
{%- endfor %}pytest -v -s{{ marker_ns.markers }} {{ matched_targets | join(' ') }}
{% else %}
{# Default behavior: preserve original commands with optional coverage injection #}
{% if cov_enabled %}
Expand Down