Files
AnabasisChatRemove/.gitea/workflows/ci.yml
T
2026-09-25 15:00:28 +03:00

41 lines
1.1 KiB
YAML

name: Desktop CI
on:
push:
branches:
- master
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://git.daemonlord.ru/actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: https://git.daemonlord.ru/actions/setup-python@v5
with:
python-version: "3.13"
- name: Install Qt runtime libraries
run: bash scripts/install-qt-runtime-deps.sh
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Validate syntax
run: |
python -m py_compile app_version.py main.py build.py updater_gui.py tests/test_auto_update_service.py tests/test_chat_actions.py tests/test_main_contracts.py tests/test_token_store.py tests/test_update_reentry_runtime.py tests/test_update_service.py tests/test_updater_gui.py
- name: Run tests
env:
QT_QPA_PLATFORM: offscreen
run: |
python -m unittest discover -s tests -p "test_*.py" -v