11name : AutoControl Stable Python3.11
22
33on :
4- push :
5- branches : [ "main" ]
6- pull_request :
7- branches : [ "main" ]
8- schedule :
9- - cron : " 0 1 * * *"
4+ workflow_run :
5+ workflows : [ "AutoControl Stable Python3.10" ]
6+ types :
7+ - completed
108
119permissions :
1210 contents : read
1311
1412jobs :
15- build_stable_version :
16- runs-on : windows-latest
13+ build_dev_version :
14+ runs-on : windows-2022
1715
1816 steps :
1917 - uses : actions/checkout@v3
20- - name : Set up Python 3.11
18+ - name : Set up Python 3.10
2119 uses : actions/setup-python@v3
2220 with :
23- python-version : " 3.11 "
21+ python-version : " 3.10 "
2422 - name : Install dependencies
2523 run : |
2624 python -m pip install --upgrade pip wheel
27- pip install -r requirements .txt
25+ pip install -r dev_requirements .txt
2826
2927 - name : Test Screen Module
3028 run : python ./test/unit_test/screen/screen_test.py
@@ -47,17 +45,19 @@ jobs:
4745 run : python ./test/unit_test/keyboard/keyboard_is_press_test.py
4846 - name : Test Keyboard hotkey Function
4947 run : python ./test/unit_test/keyboard/hotkey_test.py
50-
5148 - name : Test Mouse Module
52- run : python ./test/unit_test/mouse/mouse_test.py
49+ run : |
50+ python ./test/unit_test/mouse/mouse_test.py
51+ exit 0
5352 - name : Test Scroll Module
5453 run : python ./test/unit_test/exception/auto_control_exception_test.py
55-
5654 - name : Test Exceptions
5755 run : python ./test/unit_test/exception/auto_control_exception_test.py
5856
5957 - name : Test Critical Exit
60- run : python ./test/unit_test/critical_exit/critical_exit_test.py
58+ run : |
59+ python ./test/unit_test/critical_exit/critical_exit_test.py
60+ exit 0
6161 - name : Test Real Critical Situation
6262 run : |
6363 python ./test/unit_test/critical_exit/real_critical_test.py
9090 - name : Test Get Mouse Info
9191 run : python ./test/unit_test/get_info/mouse_info.py
9292 - name : Test Get Keyboard Info
93- run : python ./test/unit_test/get_info/keyboard_info.py
93+ run : python ./test/unit_test/get_info/keyboard_info.py
0 commit comments