Skip to content

Support SPOCR_BUILD_SCHEMAS allow-list in schema provider #31

Support SPOCR_BUILD_SCHEMAS allow-list in schema provider

Support SPOCR_BUILD_SCHEMAS allow-list in schema provider #31

Workflow file for this run

name: Quality Gates
on:
pull_request:
branches: [feature/vnext]
push:
branches: [feature/vnext]
workflow_dispatch:
jobs:
quality-gates:
runs-on: windows-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
- name: Restore
run: dotnet restore src/SpocR.csproj
- name: Kill Lingering Test/Sample Processes
shell: pwsh
run: pwsh eng/kill-testhosts.ps1 -IncludeSamples
- name: Build
run: dotnet build src/SpocR.csproj -c Release --nologo
- name: Run Quality Gates (Tests + Coverage + Threshold)
shell: pwsh
run: |
if (Test-Path eng/quality-gates.ps1) { pwsh eng/quality-gates.ps1 -CoverageThreshold 80 -Configuration Release } else { Write-Host 'quality-gates.ps1 not found, skipping.' }
- name: Upload Quality Gate Artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: quality-gates-results
path: |
build-results
eng/*.log
.artifacts/test-results
.artifacts/coverage
if-no-files-found: ignore