Skip to content

Fix sample.weproj sample with the specific version. #29

Fix sample.weproj sample with the specific version.

Fix sample.weproj sample with the specific version. #29

Workflow file for this run

name: Tests
on:
push:
branches: ["main"]
paths:
- '.github/**'
- 'src/**'
pull_request:
branches: ["main"]
paths:
- '.github/**'
- 'src/**'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# Test reporting based on: https://rakesh-suryawanshi.medium.com/unit-testing-report-with-github-actions-7216f340044e
- name: Test
run: dotnet test src/Sample/Sample.Tests/Sample.Tests.csproj --logger "trx;LogFileName=test-results.trx" || true
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: Tests
path: "**/test-results.trx"
reporter: dotnet-trx
fail-on-error: true