wails/test-workflow.md
copilot-swe-agent[bot] 35a3e11680 Rebase branch onto v3-alpha: clean up master-only files and restore v3-alpha content
This cleanup commit resolves the issue where the branch was accidentally
based on master instead of v3-alpha. It removes all master-specific files,
restores any v3-alpha files to their correct state, and ensures only the
3 intended bugfix changes differ from v3-alpha:
- v3/pkg/application/webview_window_windows.go
- v3/pkg/w32/constants.go
- v3/pkg/w32/user32.go
2026-02-22 06:20:11 +00:00

1.4 KiB

Testing the Nightly Release Workflow

  1. Create a fork of the Wails repository
  2. Push the workflow to your fork
  3. Test manually using workflow_dispatch
  4. Verify behavior without affecting main repo
# In your fork
git remote add upstream https://github.com/wailsapp/wails.git
git push origin master  # Push workflow to your fork

Method 2: Local Script Testing

Create local test scripts to validate the logic:

# Test changelog parsing
./test-changelog-extraction.sh

# Test version increment logic  
./test-version-logic.sh

# Test commit analysis
./test-commit-detection.sh

Method 3: Dry Run Workflow

Add a dry_run input parameter to test without creating releases:

workflow_dispatch:
  inputs:
    dry_run:
      description: 'Run in dry-run mode (no releases created)'
      default: true
      type: boolean

Method 4: Act (GitHub Actions Local Runner)

Use act to run GitHub Actions locally:

brew install act
act workflow_dispatch -W .github/workflows/nightly-releases.yml

Testing Checklist

  • Changelog parsing works correctly
  • Version increment logic is accurate
  • Conventional commit detection works
  • Release notes format properly
  • Authorization checks function
  • Branch handling (master vs v3-alpha)
  • Error handling and fallbacks