Skip to content

Commit

Permalink
Merge pull request #117 from Integration-Automation/dev
Browse files Browse the repository at this point in the history
Add test & update dev and stable version
  • Loading branch information
JE-Chen committed Jul 17, 2023
2 parents df20f9f + 20c3a7f commit 59068d4
Show file tree
Hide file tree
Showing 21 changed files with 193 additions and 50 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/dev_python3_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
run: |
python -m pip install --upgrade pip wheel
pip install -r dev_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
Expand All @@ -36,40 +38,56 @@ jobs:
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
# timeout
- name: Test Timeout Module
run: python ./test/unit_test/timeout/timeout_test.py
- name: Test Argparse
run: python ./test/unit_test/argparse/argparse_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
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
26 changes: 22 additions & 4 deletions .github/workflows/dev_python3_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
run: |
python -m pip install --upgrade pip wheel
pip install -r dev_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
Expand All @@ -36,40 +38,56 @@ jobs:
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
# timeout
- name: Test Timeout Module
run: python ./test/unit_test/timeout/timeout_test.py
- name: Test Argparse
run: python ./test/unit_test/argparse/argparse_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
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
24 changes: 21 additions & 3 deletions .github/workflows/dev_python3_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
run: |
python -m pip install --upgrade pip wheel
pip install -r dev_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
Expand All @@ -36,40 +38,56 @@ jobs:
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
# timeout
- name: Test Timeout Module
run: python ./test/unit_test/timeout/timeout_test.py
- name: Test Argparse
run: python ./test/unit_test/argparse/argparse_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
26 changes: 22 additions & 4 deletions .github/workflows/dev_python3_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
run: |
python -m pip install --upgrade pip wheel
pip install -r dev_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
Expand All @@ -36,40 +38,56 @@ jobs:
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
# timeout
- name: Test Timeout Module
run: python ./test/unit_test/timeout/timeout_test.py
- name: Test Argparse
run: python ./test/unit_test/argparse/argparse_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
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
26 changes: 22 additions & 4 deletions .github/workflows/stable_python3_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
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
Expand All @@ -36,40 +38,56 @@ jobs:
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
# timeout
- name: Test Timeout Module
run: python ./test/unit_test/timeout/timeout_test.py
- name: Test Argparse
run: python ./test/unit_test/argparse/argparse_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
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
Loading

0 comments on commit 59068d4

Please sign in to comment.