-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from Intergration-Automation-Testing/dev
Add difference python version ci
- Loading branch information
Showing
9 changed files
with
509 additions
and
9 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
.github/workflows/auto-control-github-actions_dev_python3_10.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: AutoControl GitHub Actions Dev | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
pull_request: | ||
branches: [ "dev" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build_dev_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 dev_requirements.txt | ||
# screen test | ||
- name: screen_test | ||
run: python ./test/unit_test/screen/screen_test.py | ||
- name: screenshot_test | ||
run: python ./test/unit_test/screen/screenshot_test.py | ||
# keyboard test | ||
- name: keyboard_type_test | ||
run: python ./test/unit_test/keyboard/keyboard_type_test.py | ||
- name: keyboard_write_test | ||
run: | | ||
python ./test/unit_test/keyboard/keyboard_write_test.py | ||
- name: keyboard_is_press_test | ||
run: python ./test/unit_test/keyboard/keyboard_is_press_test.py | ||
- name: hotkey_test | ||
run: python ./test/unit_test/keyboard/hotkey_test.py | ||
# mouse test | ||
- name: mouse_test | ||
run: python ./test/unit_test/mouse/mouse_test.py | ||
- name: scroll_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# exception test | ||
- name: auto_control_exception_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# critical exit | ||
- name: critical_exit_test | ||
run: python ./test/unit_test/critical_exit/critical_exit_test.py | ||
- name: real_critical_test | ||
run: | | ||
python ./test/unit_test/critical_exit/real_critical_test.py | ||
exit 0 | ||
# test_record | ||
- name: record_test | ||
run: python ./test/unit_test/record/record_test.py | ||
- name: total record | ||
run: python ./test/unit_test/total_record/total_record_test.py | ||
# execute | ||
- name: execute_action_test | ||
run: python ./test/unit_test/execute_action/execute_action_test.py | ||
# json | ||
- name: json_test | ||
run: python ./test/unit_test/json/json_test.py | ||
- name: json_report | ||
run: python ./test/unit_test/generate_report/json_report.py | ||
# timeout | ||
- name: timeout_test | ||
run: python ./test/unit_test/timeout/timeout_test.py | ||
# argparse | ||
- name: argparse_test | ||
run: python ./test/unit_test/argparse/argparse_test.py | ||
# html report test | ||
- name: html_report_test | ||
run: python ./test/unit_test/generate_report/html_report_test.py | ||
# call back test | ||
- name: call back test | ||
run: python ./test/unit_test/callback/callback_test.py | ||
# create project | ||
- name: create project | ||
run: python ./test/unit_test/create_project_file/create_project_test.py |
83 changes: 83 additions & 0 deletions
83
.github/workflows/auto-control-github-actions_dev_python3_11.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: AutoControl GitHub Actions Dev | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
pull_request: | ||
branches: [ "dev" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build_dev_version: | ||
runs-on: windows-2019 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.11" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r dev_requirements.txt | ||
# screen test | ||
- name: screen_test | ||
run: python ./test/unit_test/screen/screen_test.py | ||
- name: screenshot_test | ||
run: python ./test/unit_test/screen/screenshot_test.py | ||
# keyboard test | ||
- name: keyboard_type_test | ||
run: python ./test/unit_test/keyboard/keyboard_type_test.py | ||
- name: keyboard_write_test | ||
run: | | ||
python ./test/unit_test/keyboard/keyboard_write_test.py | ||
- name: keyboard_is_press_test | ||
run: python ./test/unit_test/keyboard/keyboard_is_press_test.py | ||
- name: hotkey_test | ||
run: python ./test/unit_test/keyboard/hotkey_test.py | ||
# mouse test | ||
- name: mouse_test | ||
run: python ./test/unit_test/mouse/mouse_test.py | ||
- name: scroll_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# exception test | ||
- name: auto_control_exception_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# critical exit | ||
- name: critical_exit_test | ||
run: python ./test/unit_test/critical_exit/critical_exit_test.py | ||
- name: real_critical_test | ||
run: | | ||
python ./test/unit_test/critical_exit/real_critical_test.py | ||
exit 0 | ||
# test_record | ||
- name: record_test | ||
run: python ./test/unit_test/record/record_test.py | ||
- name: total record | ||
run: python ./test/unit_test/total_record/total_record_test.py | ||
# execute | ||
- name: execute_action_test | ||
run: python ./test/unit_test/execute_action/execute_action_test.py | ||
# json | ||
- name: json_test | ||
run: python ./test/unit_test/json/json_test.py | ||
- name: json_report | ||
run: python ./test/unit_test/generate_report/json_report.py | ||
# timeout | ||
- name: timeout_test | ||
run: python ./test/unit_test/timeout/timeout_test.py | ||
# argparse | ||
- name: argparse_test | ||
run: python ./test/unit_test/argparse/argparse_test.py | ||
# html report test | ||
- name: html_report_test | ||
run: python ./test/unit_test/generate_report/html_report_test.py | ||
# call back test | ||
- name: call back test | ||
run: python ./test/unit_test/callback/callback_test.py | ||
# create project | ||
- name: create project | ||
run: python ./test/unit_test/create_project_file/create_project_test.py |
File renamed without changes.
83 changes: 83 additions & 0 deletions
83
.github/workflows/auto-control-github-actions_dev_python3_9.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: AutoControl GitHub Actions Dev | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
pull_request: | ||
branches: [ "dev" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build_dev_version: | ||
runs-on: windows-2019 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.9" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r dev_requirements.txt | ||
# screen test | ||
- name: screen_test | ||
run: python ./test/unit_test/screen/screen_test.py | ||
- name: screenshot_test | ||
run: python ./test/unit_test/screen/screenshot_test.py | ||
# keyboard test | ||
- name: keyboard_type_test | ||
run: python ./test/unit_test/keyboard/keyboard_type_test.py | ||
- name: keyboard_write_test | ||
run: | | ||
python ./test/unit_test/keyboard/keyboard_write_test.py | ||
- name: keyboard_is_press_test | ||
run: python ./test/unit_test/keyboard/keyboard_is_press_test.py | ||
- name: hotkey_test | ||
run: python ./test/unit_test/keyboard/hotkey_test.py | ||
# mouse test | ||
- name: mouse_test | ||
run: python ./test/unit_test/mouse/mouse_test.py | ||
- name: scroll_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# exception test | ||
- name: auto_control_exception_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# critical exit | ||
- name: critical_exit_test | ||
run: python ./test/unit_test/critical_exit/critical_exit_test.py | ||
- name: real_critical_test | ||
run: | | ||
python ./test/unit_test/critical_exit/real_critical_test.py | ||
exit 0 | ||
# test_record | ||
- name: record_test | ||
run: python ./test/unit_test/record/record_test.py | ||
- name: total record | ||
run: python ./test/unit_test/total_record/total_record_test.py | ||
# execute | ||
- name: execute_action_test | ||
run: python ./test/unit_test/execute_action/execute_action_test.py | ||
# json | ||
- name: json_test | ||
run: python ./test/unit_test/json/json_test.py | ||
- name: json_report | ||
run: python ./test/unit_test/generate_report/json_report.py | ||
# timeout | ||
- name: timeout_test | ||
run: python ./test/unit_test/timeout/timeout_test.py | ||
# argparse | ||
- name: argparse_test | ||
run: python ./test/unit_test/argparse/argparse_test.py | ||
# html report test | ||
- name: html_report_test | ||
run: python ./test/unit_test/generate_report/html_report_test.py | ||
# call back test | ||
- name: call back test | ||
run: python ./test/unit_test/callback/callback_test.py | ||
# create project | ||
- name: create project | ||
run: python ./test/unit_test/create_project_file/create_project_test.py |
83 changes: 83 additions & 0 deletions
83
.github/workflows/auto-control-github-actions_stable_python3_10.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: AutoControl GitHub Actions Stable | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
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 | ||
# screen test | ||
- name: screen_test | ||
run: python ./test/unit_test/screen/screen_test.py | ||
- name: screenshot_test | ||
run: python ./test/unit_test/screen/screenshot_test.py | ||
# keyboard test | ||
- name: keyboard_type_test | ||
run: python ./test/unit_test/keyboard/keyboard_type_test.py | ||
- name: keyboard_write_test | ||
run: | | ||
python ./test/unit_test/keyboard/keyboard_write_test.py | ||
- name: keyboard_is_press_test | ||
run: python ./test/unit_test/keyboard/keyboard_is_press_test.py | ||
- name: hotkey_test | ||
run: python ./test/unit_test/keyboard/hotkey_test.py | ||
# mouse test | ||
- name: mouse_test | ||
run: python ./test/unit_test/mouse/mouse_test.py | ||
- name: scroll_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# exception test | ||
- name: auto_control_exception_test | ||
run: python ./test/unit_test/exception/auto_control_exception_test.py | ||
# critical exit | ||
- name: critical_exit_test | ||
run: python ./test/unit_test/critical_exit/critical_exit_test.py | ||
- name: real_critical_test | ||
run: | | ||
python ./test/unit_test/critical_exit/real_critical_test.py | ||
exit 0 | ||
# test_record | ||
- name: record_test | ||
run: python ./test/unit_test/record/record_test.py | ||
- name: total record | ||
run: python ./test/unit_test/total_record/total_record_test.py | ||
# execute | ||
- name: execute_action_test | ||
run: python ./test/unit_test/execute_action/execute_action_test.py | ||
# json | ||
- name: json_test | ||
run: python ./test/unit_test/json/json_test.py | ||
- name: json_report | ||
run: python ./test/unit_test/generate_report/json_report.py | ||
# timeout | ||
- name: timeout_test | ||
run: python ./test/unit_test/timeout/timeout_test.py | ||
# argparse | ||
- name: argparse_test | ||
run: python ./test/unit_test/argparse/argparse_test.py | ||
# html report test | ||
- name: html_report_test | ||
run: python ./test/unit_test/generate_report/html_report_test.py | ||
# call back test | ||
- name: call back test | ||
run: python ./test/unit_test/callback/callback_test.py | ||
# create project | ||
- name: create project | ||
run: python ./test/unit_test/create_project_file/create_project_test.py |
Oops, something went wrong.