mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
- Created test-nightly-releases.yml for safe testing - Added local test scripts for changelog extraction and version logic - Updated nightly-releases.yml with changelog integration - Ready for dry-run testing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Testing the Nightly Release Workflow
Method 1: Fork Testing (Recommended)
- Create a fork of the Wails repository
- Push the workflow to your fork
- Test manually using
workflow_dispatch - 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