From d80f99112c9d4bcbb029faa69211a83508241010 Mon Sep 17 00:00:00 2001 From: lukaszcl <120112546+lukaszcl@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:11:56 +0200 Subject: [PATCH] add example for inline custom_test_list_json --- .../workflows/run-e2e-tests-reusable-workflow.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-e2e-tests-reusable-workflow.yml b/.github/workflows/run-e2e-tests-reusable-workflow.yml index 80162d2220c..b54dffd4b5c 100644 --- a/.github/workflows/run-e2e-tests-reusable-workflow.yml +++ b/.github/workflows/run-e2e-tests-reusable-workflow.yml @@ -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