update ui finder rules #4
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| windows-tests: | |
| name: Windows unit checks | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Sync dependencies | |
| run: uv sync --locked | |
| - name: Compile Python files | |
| run: uv run python -m py_compile main.py dev_server.py | |
| - name: Run unit tests | |
| run: > | |
| uv run python -m unittest | |
| tests.test_archive_cache_service | |
| tests.test_archive_delete_service | |
| tests.test_archive_excel_export_service | |
| tests.test_runtime_cleanup | |
| tests.test_sqlite_store | |
| tests.test_home_article_cursor | |
| tests.test_wechat_window_activation |