refactor!: remove web companion (no user usecase per 2026-07-23 review) #30
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: DevCenter smoke tests | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| - name: Compile sources | |
| run: python -m compileall -q main.py manage_translations.py translator.py src tests | |
| - name: Run unit tests | |
| env: | |
| QT_QPA_PLATFORM: offscreen | |
| run: python -m unittest discover -s tests -v | |
| linux-platform-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install system Qt libs (Linux) | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y --no-install-recommends \ | |
| libgl1 libegl1 libxkbcommon0 libdbus-1-3 libglib2.0-0 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| - name: Compile sources | |
| run: python -m compileall -q main.py manage_translations.py translator.py src tests | |
| - name: Run unit tests | |
| env: | |
| QT_QPA_PLATFORM: offscreen | |
| run: python -m unittest discover -s tests -v | |
| - name: Run Linux platform smoke | |
| env: | |
| QT_QPA_PLATFORM: offscreen | |
| run: python tests/linux_platform_smoke.py |