-
Notifications
You must be signed in to change notification settings - Fork 1
95 lines (78 loc) · 3.21 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
name: AutoControl Stable Python3.10
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "0 1 * * *"
permissions:
contents: read
jobs:
build_stable_version:
runs-on: windows-2019
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
- name: Test Screen Module
run: python ./test/unit_test/screen/screen_test.py
- name: Test Screenshot
run: python ./test/unit_test/screen/screenshot_test.py
- name: Test Keyboard type Function
run: python ./test/unit_test/keyboard/keyboard_type_test.py
- name: Test Keyboard write Function
run: |
python ./test/unit_test/keyboard/keyboard_write_test.py
- name: Test Keyboard is_press Function
run: python ./test/unit_test/keyboard/keyboard_is_press_test.py
- name: Test Keyboard hotkey Function
run: python ./test/unit_test/keyboard/hotkey_test.py
- name: Test Mouse Module
run: python ./test/unit_test/mouse/mouse_test.py
- name: Test Scroll Module
run: python ./test/unit_test/exception/auto_control_exception_test.py
- name: Test Exceptions
run: python ./test/unit_test/exception/auto_control_exception_test.py
- name: Test Critical Exit
run: python ./test/unit_test/critical_exit/critical_exit_test.py
- name: Test Real Critical Situation
run: |
python ./test/unit_test/critical_exit/real_critical_test.py
exit 0
- name: Test Record Module
run: python ./test/unit_test/record/record_test.py
- name: Test Total Record
run: python ./test/unit_test/total_record/total_record_test.py
- name: Test Execute Action
run: python ./test/unit_test/execute_action/execute_action_test.py
- name: Test Json Module
run: python ./test/unit_test/json/json_test.py
- name: Test Generate Json Report
run: python ./test/unit_test/generate_report/json_report.py
- name: Test Timeout Module
run: python ./test/unit_test/timeout/timeout_test.py
- name: Test Generate HTML Report
run: python ./test/unit_test/generate_report/html_report_test.py
- name: Test Argparse
run: python ./test/unit_test/argparse/argparse_test.py
- name: Test Callback Module
run: python ./test/unit_test/callback/callback_test.py
- name: Test Create Project Function
run: python ./test/unit_test/create_project_file/create_project_test.py
- name: Test Interval Scheduler
run: python ./test/unit_test/scheduler_test/sec_interval_test.py
- name: Test Cron Scheduler
run: python ./test/unit_test/scheduler_test/sec_cron_test.py
- name: Test Get Mouse Info
run: python ./test/unit_test/get_info/mouse_info.py
- name: Test Get Special Info
run: python ./test/unit_test/get_info/special_info.py
- name: Test Get Keyboard Info
run: python ./test/unit_test/get_info/keyboard_info.py