Skip to content

feat: add comprehensive CI/CD pipeline with GitHub Actions#70

Open
ramazansancar wants to merge 5 commits intocagritaskn:mainfrom
ramazansancar:main
Open

feat: add comprehensive CI/CD pipeline with GitHub Actions#70
ramazansancar wants to merge 5 commits intocagritaskn:mainfrom
ramazansancar:main

Conversation

@ramazansancar
Copy link
Copy Markdown
Contributor

@ramazansancar ramazansancar commented Sep 26, 2025

  • Add CI Tests workflow with build, test, and code quality checks
  • Add PR Validation workflow with conventional commit validation
  • Add Nightly Tests workflow with multi .NET version support
  • Add Windows Specific Tests workflow for platform compatibility
  • Add Manual Test Runner for on-demand workflow execution
  • Create comprehensive test suite with xUnit, FluentAssertions, and Moq
  • Add Windows-specific integration tests for registry, services, and WMI
  • Implement conditional execution based on test levels and scopes
  • Add artifact management with code coverage and dependency reports
  • Support manual workflow dispatch with branch and parameter selection

Features:
✅ Automated testing on every push and PR
✅ Multi .NET version compatibility (6.0, 8.0, 9.0)
✅ Code quality analysis and security scanning
✅ Windows platform-specific testing
✅ Manual workflow triggering with custom parameters
✅ Comprehensive test coverage reporting
✅ Dependency vulnerability checking
✅ Build artifact management

All workflows optimized for windows-latest runner with PowerShell scripts.


It's not stable yet. Maybe some fixes would be nice. @cagritaskn

- Add CI Tests workflow with build, test, and code quality checks
- Add PR Validation workflow with conventional commit validation
- Add Nightly Tests workflow with multi .NET version support
- Add Windows Specific Tests workflow for platform compatibility
- Add Manual Test Runner for on-demand workflow execution
- Create comprehensive test suite with xUnit, FluentAssertions, and Moq
- Add Windows-specific integration tests for registry, services, and WMI
- Implement conditional execution based on test levels and scopes
- Add artifact management with code coverage and dependency reports
- Support manual workflow dispatch with branch and parameter selection
@ramazansancar
Copy link
Copy Markdown
Contributor Author

@GormYa Support can be very good.

0x1-1 added a commit to 0x1-1/SplitWire-Turkey that referenced this pull request May 3, 2026
Replaces the broken approach in PR cagritaskn#70 (which targeted net6.0-windows
while the main project is net8.0-windows, never compiled, and asserted
against the failure path because no language files were ever copied
into the test bin folder).

- New solution: src/SplitWireTurkey.sln
- New test project: src/SplitWireTurkey.Tests/ (xUnit, net8.0-windows)
  * Real Resources/Languages/*.json files are linked into the test bin
    output via <Content Link="res\Languages\..."/>, so tests exercise
    the real translation path.
  * 15 tests covering VersionHelper accessors and LanguageManager
    behavior: nested key resolution, null/blank input safety, missing
    keys returning category.key, format-string substitution, and the
    new Turkish fallback.
- New workflow: .github/workflows/ci.yml — single Windows job that
  restores, builds Release, runs the test suite, and uploads TRX
  results. NuGet cache only; no nightly/cache-warm/PR-validation
  matrix. Runs on push to main, on PRs targeting main, and via
  workflow_dispatch.

Locally: dotnet build & dotnet test both pass on net8.0-windows
(15/15 green) with the only remaining warning being the pre-existing
CS1998 in MainWindow.xaml.cs:13804.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant