Optimize E2E tests by replacing HTTP dependencies with shell/hello actions#148
Merged
Optimize E2E tests by replacing HTTP dependencies with shell/hello actions#148
Conversation
…tions Replace HTTP action with shell/hello action in 8 example files to reduce test execution time by eliminating HTTP server startup wait time. Changes: - truncate-print.yml: Use shell to generate long output - outputs-literal.yml: Use shell for outputs functionality testing - yaml-alias.yml + yaml-shared.yml: Use shell for YAML alias testing - nested-alias.yml: Use shell for nested YAML alias testing - iteration-literal.yml: Use shell for iteration functionality - repeat-literal.yml: Replace HTTP step with shell - embedded-job.yml + dev.yml: Replace HTTP step with shell - expr-functions.yml: Use vars for JSON match testing testdata/verify-examples.yml: - Move 8 tests from "HTTP Workflow Tests" to "Basic Workflow Tests" - These tests no longer require HTTP server startup (saves ~6.5s) - HTTP Workflow Tests now only contains http.yml (actual HTTP action test) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
Code Metrics Report
Details | | main (7bb4fde) | #148 (311ae3d) | +/- |
|---------------------|----------------|----------------|-------|
- | Coverage | 48.7% | 48.7% | -0.1% |
| Files | 52 | 52 | 0 |
| Lines | 5249 | 5249 | 0 |
- | Covered | 2561 | 2560 | -1 |
| Code to Test Ratio | 1:1.1 | 1:1.1 | 0.0 |
| Code | 10573 | 10573 | 0 |
| Test | 12109 | 12109 | 0 |
+ | Test Execution Time | 1m27s | 23s | -1m4s |Code coverage of files in pull request scope (73.1% → 72.0%)
Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR optimizes E2E test execution time by replacing HTTP action dependencies with shell/hello actions in example files that don't specifically test HTTP functionality.
Changes
Example Files (8 files)
Test Configuration
Benefits
Test Results
All E2E tests pass successfully:
🤖 Generated with Claude Code