Skip to content

feat: implement global exception handler #104

feat: implement global exception handler

feat: implement global exception handler #104

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
jobs:
test:
name: Build & test
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
checks: write
steps:
- name: 🔽 Checkout repository
uses: actions/checkout@v3
- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
8.0.x
- name: 📥 Restore dependencies
run: dotnet restore
- name: ⚒ Build solution
run: dotnet build --no-restore
- name: 🪲 Run tests
run: dotnet test --no-build --verbosity normal --logger trx
- name: 📊 Generate report
if: success() || failure()
uses: dorny/test-reporter@v1
with:
name: .NET test results
path: "**/TestResults/*.trx"
reporter: dotnet-trx