Repository navigation
chore(drift-sync): apply template updates from quality-zero-platform #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| name: .NET WPF CI | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
| branches: ["main"] | ||
| pull_request: | ||
| branches: ["main"] | ||
|
|
||
| concurrency: | ||
| group: dotnet-wpf-ci-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: windows-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Set up .NET | ||
| uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: "8.0.x" | ||
| - name: Restore | ||
| run: dotnet restore | ||
| - name: Build | ||
| run: dotnet build --no-restore --configuration Release | ||
| - name: Test with coverage | ||
| shell: bash | ||
| run: | | ||
| pwsh -ExecutionPolicy Bypass -File ./tools/quality/collect-dotnet-coverage.ps1 -Configuration Release -DeterministicOnly | ||
| $candidates = @( | ||
| (Join-Path (Get-Location) 'TestResults/coverage/cobertura.xml'), | ||
| (Join-Path (Get-Location) 'tests/SwfocTrainer.Tests/TestResults/coverage.cobertura.xml'), | ||
| (Join-Path (Get-Location) 'TestResults/coverage.cobertura.xml') | ||
| ) | ||
| $resolved = $candidates | Where-Object { Test-Path -Path $_ } | Select-Object -First 1 | ||
| if (-not $resolved) { | ||
| throw "Coverage report not found. Checked: $($candidates -join '; ')" | ||
| } | ||
| Write-Host "Using coverage report: $resolved" | ||
|
Comment on lines
+34
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The "Test with coverage" step in Suggested FixFix indentation for lines 35–44 to align within the Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| codecov: | ||
| require_ci_to_pass: true | ||
|
|
||
| flags: | ||
| dotnet: | ||
| paths: | ||
| - TestResults/ | ||
|
|
||
| coverage: | ||
| status: | ||
| project: | ||
| default: | ||
| target: 100.0% | ||
| threshold: 0% | ||
| patch: | ||
| default: | ||
| target: 100.0% | ||
| threshold: 0% |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "branches": 100.0, | ||
| "functions": 100.0, | ||
| "lines": 100.0, | ||
| "statements": 100.0 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: nuget | ||
| directory: "/" | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 10 | ||
| groups: | ||
| minor-patch: | ||
| applies-to: version-updates | ||
| patterns: | ||
| - "*" | ||
| update-types: | ||
| - patch | ||
| - minor | ||
| security-updates: | ||
| applies-to: security-updates | ||
| patterns: | ||
| - "*" | ||
| labels: | ||
| - dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub Actions discovers workflows under
.github/workflows/, so this root-levelci.ymlnever runs on either of its declared events. At the reviewed commit,.github/workflows/ci.ymlstill contains the previous pipeline, and a repository-wide reference search found no mechanism that consumes or copies this new file. The same destination problem affects the added root-leveldependabot.yml: GitHub continues using the unchanged.github/dependabot.yml, so the new security-update grouping is not applied. Map these templates to their actual configuration destinations and reconcile them with the existing files rather than adding inactive root-level copies.Useful? React with 👍 / 👎.