Skip to content

Prove WinForms two-way binding end-to-end with a dedicated test suite (#94) #1

Prove WinForms two-way binding end-to-end with a dedicated test suite (#94)

Prove WinForms two-way binding end-to-end with a dedicated test suite (#94) #1

Workflow file for this run

name: test-winforms
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
env:
config: 'Debug'
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Restore
run: dotnet restore src/StrongTypes.WinForms.Tests/StrongTypes.WinForms.Tests.csproj
- name: Build
run: dotnet build src/StrongTypes.WinForms.Tests/StrongTypes.WinForms.Tests.csproj --configuration ${{ env.config }} --no-restore
- name: Test
run: dotnet test src/StrongTypes.WinForms.Tests/StrongTypes.WinForms.Tests.csproj --no-restore --no-build --configuration ${{ env.config }}
- name: Upload test logs
if: always()
uses: actions/upload-artifact@v7
with:
name: winforms-test-logs
path: |
src/StrongTypes.WinForms.Tests/**/TestResults/**/*.log
src/StrongTypes.WinForms.Tests/**/TestResults/**/*.trx
retention-days: 5