Skip to content

fix: Update test workflow to run on feature branches #1

fix: Update test workflow to run on feature branches

fix: Update test workflow to run on feature branches #1

Workflow file for this run

name: Test Build
on:
pull_request:
branches: [ main ]
push:
branches: [ main, 'fix/*', 'feature/*' ]
jobs:
test-build:
strategy:
matrix:
platform: [ubuntu-20.04, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install npm dependencies
run: npm ci
- name: Build Tauri app
run: npm run tauri build
- name: Test basic functionality
run: |
echo "Build completed successfully for ${{ matrix.platform }}"
# Could add more specific tests here