# Gitea Actions CI workflow - runs tests on every push/PR name: Test Suite on: push: branches: [ main, develop ] pull_request: branches: [ main ] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.14' - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt 2>/dev/null || true pip install pytest numpy psutil Pillow - name: Run tests (skip GUI tests) run: | python -m pytest tests/unit/ \ --ignore=tests/unit/test_updater.py \ --ignore=tests/unit/test_plugin_manager.py \ --ignore=tests/unit/test_flares.py \ -v --tb=short - name: Test summary if: always() run: | echo "## Test Results" >> $GITHUB_STEP_SUMMARY python -m pytest tests/unit/ \ --ignore=tests/unit/test_updater.py \ --ignore=tests/unit/test_plugin_manager.py \ --ignore=tests/unit/test_flares.py \ --co -q 2>/dev/null | grep "test session" >> $GITHUB_STEP_SUMMARY || true