diff --git a/.github/workflows/dev_python3_10.yml b/.github/workflows/dev_python3_10.yml index 3836c61..fc27958 100644 --- a/.github/workflows/dev_python3_10.yml +++ b/.github/workflows/dev_python3_10.yml @@ -30,6 +30,11 @@ jobs: run: python ./test/unit_test/screen/screen_test.py - name: Test Screenshot run: python ./test/unit_test/screen/screenshot_test.py + - name: Save Screenshot Image + uses: actions/upload-artifact@v4 + with: + name: screenshot_png + path: test.png - name: Test Keyboard type Function run: python ./test/unit_test/keyboard/keyboard_type_test.py diff --git a/.github/workflows/dev_python3_11.yml b/.github/workflows/dev_python3_11.yml index 2fbb559..85d2359 100644 --- a/.github/workflows/dev_python3_11.yml +++ b/.github/workflows/dev_python3_11.yml @@ -30,6 +30,11 @@ jobs: run: python ./test/unit_test/screen/screen_test.py - name: Test Screenshot run: python ./test/unit_test/screen/screenshot_test.py + - name: Save Screenshot Image + uses: actions/upload-artifact@v4 + with: + name: screenshot_png + path: test.png - name: Test Keyboard type Function run: python ./test/unit_test/keyboard/keyboard_type_test.py diff --git a/.github/workflows/dev_python3_8.yml b/.github/workflows/dev_python3_8.yml deleted file mode 100644 index 1eaa071..0000000 --- a/.github/workflows/dev_python3_8.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: AutoControl Dev Python3.8 - -on: - push: - branches: [ "dev" ] - pull_request: - branches: [ "dev" ] - schedule: - - cron: "0 1 * * *" - -permissions: - contents: read - -jobs: - build_dev_version: - runs-on: windows-2019 - - steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.8 - uses: actions/setup-python@v3 - with: - python-version: "3.8" - - name: Install dependencies - 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 - 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 diff --git a/.github/workflows/dev_python3_9.yml b/.github/workflows/dev_python3_9.yml index e85c3fd..82a6b92 100644 --- a/.github/workflows/dev_python3_9.yml +++ b/.github/workflows/dev_python3_9.yml @@ -30,6 +30,11 @@ jobs: run: python ./test/unit_test/screen/screen_test.py - name: Test Screenshot run: python ./test/unit_test/screen/screenshot_test.py + - name: Save Screenshot Image + uses: actions/upload-artifact@v4 + with: + name: screenshot_png + path: test.png - name: Test Keyboard type Function run: python ./test/unit_test/keyboard/keyboard_type_test.py diff --git a/.github/workflows/stable_python3_10.yml b/.github/workflows/stable_python3_10.yml index f1b826b..0cbbd5e 100644 --- a/.github/workflows/stable_python3_10.yml +++ b/.github/workflows/stable_python3_10.yml @@ -30,6 +30,11 @@ jobs: run: python ./test/unit_test/screen/screen_test.py - name: Test Screenshot run: python ./test/unit_test/screen/screenshot_test.py + - name: Save Screenshot Image + uses: actions/upload-artifact@v4 + with: + name: screenshot_png + path: test.png - name: Test Keyboard type Function run: python ./test/unit_test/keyboard/keyboard_type_test.py diff --git a/.github/workflows/stable_python3_11.yml b/.github/workflows/stable_python3_11.yml index 23ff5d4..d869749 100644 --- a/.github/workflows/stable_python3_11.yml +++ b/.github/workflows/stable_python3_11.yml @@ -30,6 +30,11 @@ jobs: run: python ./test/unit_test/screen/screen_test.py - name: Test Screenshot run: python ./test/unit_test/screen/screenshot_test.py + - name: Save Screenshot Image + uses: actions/upload-artifact@v4 + with: + name: screenshot_png + path: test.png - name: Test Keyboard type Function run: python ./test/unit_test/keyboard/keyboard_type_test.py diff --git a/.github/workflows/stable_python3_8.yml b/.github/workflows/stable_python3_8.yml deleted file mode 100644 index b98fe4f..0000000 --- a/.github/workflows/stable_python3_8.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: AutoControl Stable Python3.8 - -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.8 - uses: actions/setup-python@v3 - with: - python-version: "3.8" - - 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 diff --git a/.github/workflows/stable_python3_9.yml b/.github/workflows/stable_python3_9.yml index b2922df..5a7eb03 100644 --- a/.github/workflows/stable_python3_9.yml +++ b/.github/workflows/stable_python3_9.yml @@ -30,6 +30,11 @@ jobs: run: python ./test/unit_test/screen/screen_test.py - name: Test Screenshot run: python ./test/unit_test/screen/screenshot_test.py + - name: Save Screenshot Image + uses: actions/upload-artifact@v4 + with: + name: screenshot_png + path: test.png - name: Test Keyboard type Function run: python ./test/unit_test/keyboard/keyboard_type_test.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c09cef7..aca0929 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,10 +4,7 @@