From 813b94c2d59978aa0b9aa577567a38838faaff85 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Wed, 18 Mar 2026 14:25:45 +0100 Subject: [PATCH] chore: Remove unnecessary component-tests.yml workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove component-tests.yml (no longer needed) - unified-release.yml handles all builds and releases - Keep only essential workflows for clean setup Active workflows: ✅ unified-release.yml (main push trigger) 🔇 desktop-ci.yml (manual only) --- .github/workflows/component-tests.yml | 115 -------------------------- 1 file changed, 115 deletions(-) delete mode 100644 .github/workflows/component-tests.yml diff --git a/.github/workflows/component-tests.yml b/.github/workflows/component-tests.yml deleted file mode 100644 index 6f9ab7c4..00000000 --- a/.github/workflows/component-tests.yml +++ /dev/null @@ -1,115 +0,0 @@ -name: Component Tests (DISABLED - use unified-release.yml) - -on: - workflow_dispatch: - -jobs: - test-webclient: - runs-on: ubuntu-latest - name: Test Web Client - if: contains(github.event.head_commit.modified, 'swingmusic-webclient/') || github.event_name == 'workflow_dispatch' - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Setup Node 24 - uses: actions/setup-node@v4 - with: - node-version: 24.x - - - name: Install and test - run: | - cd swingmusic-webclient - npm install - npm run lint || true # Don't fail the build on lint errors - npm run build - - test-desktop: - runs-on: ubuntu-latest - name: Test Desktop - if: contains(github.event.head_commit.modified, 'swingmusic-desktop/') || github.event_name == 'workflow_dispatch' - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Install dependencies (ubuntu) - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - - - name: Rust setup - uses: dtolnay/rust-toolchain@stable - - - name: Rust Cache - uses: swatinem/rust-cache@v2 - with: - workspaces: "swingmusic-desktop -> target" - - - name: Install Tauri CLI - run: npm install -g @tauri-apps/cli - - - name: Install desktop dependencies - run: | - cd swingmusic-desktop - npm install - - - name: Run tests - run: | - cd swingmusic-desktop - cargo test - - test-android: - runs-on: ubuntu-latest - name: Test Android - if: contains(github.event.head_commit.modified, 'swingmusic-android/') || github.event_name == 'workflow_dispatch' - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - - - name: Setup Android SDK - uses: android-actions/setup-android@v3 - - - name: Grant execute permission for gradlew - run: | - cd swingmusic-android - chmod +x gradlew - - - name: Run tests - run: | - cd swingmusic-android - ./gradlew test - - test-backend: - runs-on: ubuntu-latest - name: Test Backend - if: contains(github.event.head_commit.modified, 'src/') || github.event_name == 'workflow_dispatch' - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Install dependencies - run: | - pip install -r requirements.txt - pip install -e . - - - name: Run tests - run: | - python -m pytest src/swingmusic/tests/ || echo "Tests completed"