-
Notifications
You must be signed in to change notification settings - Fork 1
138 lines (134 loc) · 7.09 KB
/
stable_python3_10.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
name: APITestka Stable Python3.10
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
build_stable_version:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements.txt
# request test
- name: Test requests AJAX Request
run: python ./test/requests/unit_test/ajax/test_ajax_requests.py
- name: Test requests Request Delete
run: python ./test/requests/unit_test/api_delete/test_request_delete.py
- name: Test requests Get All Data
run: python ./test/requests/unit_test/api_get/test_api_get_all_data.py
- name: Test requests GET Method
run: python ./test/requests/unit_test/api_get/test_request_get.py
- name: Test requests HEAD Method
run: python ./test/requests/unit_test/api_head/test_request_head.py
- name: Test requests OPTIONS Method
run: python ./test/requests/unit_test/api_options/test_request_options.py
- name: Test requests PATCH Method
run: python ./test/requests/unit_test/api_patch/test_request_patch.py
- name: Test requests POST Method
run: python ./test/requests/unit_test/api_post/test_request_post.py
- name: Test requests PUT Method
run: python ./test/requests/unit_test/api_put/test_request_put.py
- name: Test requests Session
run: python ./test/requests/unit_test/api_session/test_request_session.py
- name: Test requests Process Json
run: python ./test/requests/unit_test/json/json_reformat_test/test_json_process.py
- name: Test requests Read And Write And Reformat Json
run: python ./test/requests/unit_test/json/rw_and_reformat_json_test/rw_and_reformat_json_test.py
- name: Test requests Generate Json Report
run: python ./test/requests/unit_test/generate_report/json_report_test.py
- name: Test requests Generate HTML Report
run: python ./test/requests/unit_test/generate_report/html_report_test.py
- name: Test requests Execute Action
run: python ./test/requests/unit_test/executor_test/execute_action_test.py
- name: Test requests Get Dir Files And Execute
run: python ./test/requests/integrated_test/get_dir_file_and_execute/get_dir_file_and_execute.py
- name: Test requests XML Module
run: python ./test/requests/unit_test/xml/xml_test.py
- name: Test requests Soap Data To Dict
run: python ./test/requests/integrated_test/soap_to_dict_test/soap_to_dict_test.py
- name: Test requests Generate XML Report
run: python ./test/requests/unit_test/generate_report/xml_report_test.py
- name: Test requests Get Soap Data
run: python ./test/requests/unit_test/soap_test/soap_test.py
- name: Test requests Argparse
run: python ./test/requests/unit_test/argparse/argparse_test.py
- name: Test requests Compare
run: python ./test/requests/unit_test/compare_test/compare_test.py
- name: Test requests Callback
run: python ./test/requests/unit_test/callback/callback_test.py
- name: Test requests Create Project
run: python ./test/requests/unit_test/create_project/create_project.py
- name: Test requests Interval Scheduler
run: python ./test/requests/unit_test/scheduler_test/sec_interval_test.py
- name: Test requests Cron Scheduler
run: python ./test/requests/unit_test/scheduler_test/sec_cron_test.py
# httpx test
- name: Test httpx Request Delete
run: python ./test/httpx/sync/unit_test/api_delete/test_request_delete.py
- name: Test httpx Get All Data
run: python ./test/httpx/sync/unit_test/api_get/test_api_get_all_data.py
- name: Test httpx GET Method
run: python ./test/httpx/sync/unit_test/api_get/test_request_get.py
- name: Test httpx HEAD Method
run: python ./test/httpx/sync/unit_test/api_head/test_request_head.py
- name: Test httpx OPTIONS Method
run: python ./test/httpx/sync/unit_test/api_options/test_request_options.py
- name: Test httpx PATCH Method
run: python ./test/httpx/sync/unit_test/api_patch/test_request_patch.py
- name: Test httpx POST Method
run: python ./test/httpx/sync/unit_test/api_post/test_request_post.py
- name: Test httpx PUT Method
run: python ./test/httpx/sync/unit_test/api_put/test_request_put.py
- name: Test httpx Session
run: python ./test/httpx/sync/unit_test/api_session/test_request_session.py
- name: Test httpx Generate Json Report
run: python ./test/httpx/sync/unit_test/generate_report/json_report_test.py
- name: Test httpx Generate HTML Report
run: python ./test/httpx/sync/unit_test/generate_report/html_report_test.py
- name: Test httpx Execute Action
run: python ./test/httpx/sync/unit_test/executor_test/execute_action_test.py
- name: Test httpx Generate XML Report
run: python ./test/httpx/sync/unit_test/generate_report/xml_report_test.py
- name: Test httpx Compare
run: python ./test/httpx/sync/unit_test/compare_test/compare_test.py
# httpx async test
- name: Test httpx async Request Delete
run: python ./test/httpx/async/unit_test/api_delete/test_request_delete.py
- name: Test httpx async Get All Data
run: python ./test/httpx/async/unit_test/api_get/test_api_get_all_data.py
- name: Test httpx async GET Method
run: python ./test/httpx/async/unit_test/api_get/test_request_get.py
- name: Test httpx async HEAD Method
run: python ./test/httpx/async/unit_test/api_head/test_request_head.py
- name: Test httpx OPTIONS Method
run: python ./test/httpx/async/unit_test/api_options/test_request_options.py
- name: Test httpx async PATCH Method
run: python ./test/httpx/async/unit_test/api_patch/test_request_patch.py
- name: Test httpx async POST Method
run: python ./test/httpx/async/unit_test/api_post/test_request_post.py
- name: Test httpx async PUT Method
run: python ./test/httpx/async/unit_test/api_put/test_request_put.py
- name: Test httpx async Session
run: python ./test/httpx/async/unit_test/api_session/test_request_session.py
- name: Test httpx async Generate Json Report
run: python ./test/httpx/async/unit_test/generate_report/json_report_test.py
- name: Test httpx async Generate HTML Report
run: python ./test/httpx/async/unit_test/generate_report/html_report_test.py
- name: Test httpx async Execute Action
run: python ./test/httpx/async/unit_test/executor_test/execute_action_test.py
- name: Test httpx async Generate XML Report
run: python ./test/httpx/async/unit_test/generate_report/xml_report_test.py
- name: Test httpx async Compare
run: python ./test/httpx/async/unit_test/compare_test/compare_test.py