Skip to content

Commit 837ead5

Browse files
authored
fix: skip tests on workflow dispatch (#70)
These are preview images, we don't deliver any guarantee. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the Red Hat distro container workflow to conditionally skip setup and test steps when manually triggered, reducing runtime and resource usage for workflow_dispatch runs. * Automated (non-manual) runs remain unchanged to preserve full test coverage. * Improves developer experience by enabling faster manual executions without altering release behavior or user-facing functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents cc14dcc + 0b9ff63 commit 837ead5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/redhat-distro-container.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,18 @@ jobs:
9393
cache-to: type=gha,mode=max
9494

9595
- name: Setup vllm for image test
96+
if: github.event_name != 'workflow_dispatch'
9697
id: vllm
9798
uses: ./.github/actions/setup-vllm
9899

99100
- name: Start and smoke test LLS distro image
101+
if: github.event_name != 'workflow_dispatch'
100102
id: smoke-test
101103
shell: bash
102104
run: ./tests/smoke.sh
103105

104106
- name: Integration tests
107+
if: github.event_name != 'workflow_dispatch'
105108
id: integration-tests
106109
shell: bash
107110
run: ./tests/run_integration_tests.sh

0 commit comments

Comments
 (0)