|
4 | 4 | workflow_dispatch: |
5 | 5 | inputs: |
6 | 6 | use_minimal_test_account: |
7 | | - description: 'Use minimal test account' |
| 7 | + description: 'Indicate whether to use a minimal test account with limited resources for testing. Defaults to "false"' |
8 | 8 | required: false |
9 | 9 | default: 'false' |
10 | | - module: |
11 | | - description: "The module from 'test/integration' to the target to be tested, e.g. 'cli, domains, events, etc'" |
| 10 | + test_suite: |
| 11 | + description: "Specify test suite to run from the 'tests/integration' directory. Examples: 'cli', 'domains', 'events', etc. If not provided, all suites are executed" |
12 | 12 | required: false |
13 | 13 | run_long_tests: |
14 | | - description: "Select True to run long tests, e.g. database, rebuild, etc" |
| 14 | + description: "Select 'True' to include long-running tests (e.g., database provisioning, server rebuilds). Defaults to 'False'" |
15 | 15 | required: false |
16 | 16 | type: choice |
17 | 17 | options: |
18 | 18 | - "True" |
19 | 19 | - "False" |
20 | 20 | default: "False" |
21 | 21 | sha: |
22 | | - description: 'The hash value of the commit.' |
| 22 | + description: 'Specify commit hash to test. This value is mandatory to ensure the tests run against a specific commit' |
23 | 23 | required: true |
24 | 24 | default: '' |
25 | 25 | pull_request_number: |
26 | | - description: 'The number of the PR. Ensure sha value is provided' |
| 26 | + description: 'Specify pull request number associated with the commit. Optional, but recommended when providing a commit hash (sha)' |
27 | 27 | required: false |
28 | 28 | openapi_spec_url: |
29 | | - description: 'URL of the OpenAPI spec to use for the tests' |
| 29 | + description: 'Specify URL of the OpenAPI specification file to use for testing. Useful for validating tests against a specific API version or custom specification' |
30 | 30 | required: false |
31 | 31 | default: '' |
32 | 32 | python-version: |
33 | | - description: 'Specify Python version to use' |
| 33 | + description: 'Specify the Python version to use for running tests. Leave empty to use the default Python version configured in the environment' |
34 | 34 | required: false |
35 | 35 | run-eol-python-version: |
36 | | - description: 'Run EOL python version?' |
| 36 | + description: 'Indicates whether to run tests using an End-of-Life (EOL) Python version. Defaults to "false". Choose "true" to include tests for deprecated Python versions' |
37 | 37 | required: false |
38 | 38 | default: 'false' |
39 | 39 | type: choice |
@@ -124,7 +124,7 @@ jobs: |
124 | 124 | run: | |
125 | 125 | timestamp=$(date +'%Y%m%d%H%M') |
126 | 126 | report_filename="${timestamp}_cli_test_report.xml" |
127 | | - make testint TEST_ARGS="--junitxml=${report_filename}" MODULE="${{ inputs.module }}" RUN_LONG_TESTS="${{ inputs.run_long_tests }}" |
| 127 | + make test-int TEST_ARGS="--junitxml=${report_filename}" TEST_SUITE="${{ inputs.test_suite }}" RUN_LONG_TESTS="${{ inputs.run_long_tests }}" |
128 | 128 | env: |
129 | 129 | LINODE_CLI_TOKEN: ${{ env.LINODE_CLI_TOKEN }} |
130 | 130 |
|
|
0 commit comments