Skip to content

Commit

Permalink
add example for inline custom_test_list_json
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Sep 5, 2024
1 parent f9e2f74 commit d80f991
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/run-e2e-tests-reusable-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,20 @@ on:
custom_test_list_json:
description: 'Custom JSON list of tests to run'
required: false
type: string
type: string
# Example:
# custom_test_list_json: >
# {
# "tests": [
# {
# "id": "TestVRFv2Plus",
# "path": "integration-tests/smoke/vrfv2plus_test.go",
# "runs_on": "ubuntu-latest",
# "test_env_type": "docker",
# "test_cmd": "cd integration-tests/smoke && go test vrfv2plus_test.go -test.parallel=1 -timeout 3h -count=1 -json -v"
# }
# ]
# }
test_workflow:
description: 'Run tests by workflow name. Example: "Run Nightly E2E Tests"'
required: false
Expand Down

0 comments on commit d80f991

Please sign in to comment.