You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -95,19 +97,21 @@ The usage of each workflow template.
95
97
96
98
### _rw_run_test.yaml_
97
99
98
-
* Description: Run testing by specific type with all test items via PyTest and generate its testing coverage report (it would save reports by _actions/upload-artifact@v3_).
100
+
* Description: Run testing by specific type with all test items via PyTest and generate its testing coverage report (it would save reports by _actions/upload-artifact_).
99
101
* Options:
100
102
101
-
| option name | data type | optional or required | function content |
| test_type | string | Required | The testing type. In generally, it only has 2 options: _unit-test_ and _integration-test_. |
104
-
| all_test_items_paths | string | Required | The target paths of test items under test. |
105
-
| setup_http_server | string | Optional, Default value is _false_ | If it's true, it would set up and run HTTP server for testing. |
106
-
| http_server_host | string | Optional, Default value is _0.0.0.0_ | The host IPv4 address of HTTP server. |
107
-
| http_server_port | string | Optional, Default value is _12345_ | The port number of HTTP server. |
108
-
| http_server_app_module | string | Optional, Default value is _app_ | The module path of HTTP server. |
109
-
| http_server_enter_point | string | Optional, Default value is _app_ | The object about the web application. |
110
-
| debug_mode | boolean | Optional, Default value is _false_ | For debug, so it's matrix would only has one os: ubuntu-22.04 & one python-version: 3.10. |
103
+
| option name | data type | optional or required | function content |
| runtime_os | string | Optional, Default value is _ubuntu-latest_ | The OS to use for runtime environment. |
106
+
| python_version | string | Optional, Default value is _3.11_ | The Python version to run the test in workflow. |
107
+
| test_type | string | Required | The testing type. In generally, it only has 2 options: _unit-test_ and _integration-test_. |
108
+
| all_test_items_paths | string | Required | The target paths of test items under test. |
109
+
| setup_http_server | string | Optional, Default value is _false_ | If it's true, it would set up and run HTTP server for testing. |
110
+
| http_server_host | string | Optional, Default value is _0.0.0.0_ | The host IPv4 address of HTTP server. |
111
+
| http_server_port | string | Optional, Default value is _12345_ | The port number of HTTP server. |
112
+
| http_server_app_module | string | Optional, Default value is _app_ | The module path of HTTP server. |
113
+
| http_server_enter_point | string | Optional, Default value is _app_ | The object about the web application. |
114
+
| debug_mode | boolean | Optional, Default value is _false_ | For debug, so it's matrix would only has one os: ubuntu-22.04 & one python-version: 3.10. |
111
115
112
116
* Output:
113
117
@@ -125,6 +129,7 @@ No, but it would save the testing coverage reports to provide after-process to o
| _rw_poetry_run_test_with_multi_py_versions.yaml_ | Use ``poetry`` feature or run command lines in it | 3.8 - 3.11 |
195
+
168
196
169
197
<hr>
170
198
171
199
### _rw_organize_test_cov_reports.yaml_
172
200
173
-
* Description: Organize all the testing coverage reports which be generated in different runtime OS with Python version. (it would save reports by _actions/upload-artifact@v3_).
201
+
* Description: Organize all the testing coverage reports which be generated in different runtime OS with Python version. (it would save reports by _actions/upload-artifact_).
174
202
* Options:
175
203
176
204
| option name | data type | optional or required | function content |
@@ -197,7 +225,7 @@ No, but it would save the testing coverage reports to provide after-process to o
197
225
test_type: unit-test
198
226
```
199
227
200
-
It would upload the organized report via _actions/upload-artifact@v3_. And it doesn't support customize options of _actions/upload-artifact@v3_ currently.
228
+
It would upload the organized report via _actions/upload-artifact_. And it doesn't support customize options of _actions/upload-artifact_ currently.
201
229
202
230
<hr>
203
231
@@ -212,7 +240,7 @@ _General option_:
212
240
213
241
| option name | data type | optional or required | function content |
| download_path | string | Optional. Default value is './'. | The path to download testing coverage reports via _actions/download-artifact@v3_. |
243
+
| download_path | string | Optional. Default value is './'. | The path to download testing coverage reports via _actions/download-artifact_. |
216
244
| test_type | string | Required | The testing type. In generally, it only has 3 options: _unit-test_, _integration-test_ and _all-type_. |
217
245
| upload-to-codecov | boolean | Optional. Default value is _false_. | If it's true, it would upload testing coverage report for Codecov (https://codecov.io). |
218
246
| codecov_flags | string | Optional. Default value is empty string. | The flags of the testing coverage report for Codecov. This option would be required if _upload-to-codecov_ is true. |
0 commit comments