Skip to content

Add analyzer for Register method #13

Add analyzer for Register method

Add analyzer for Register method #13

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ] # Same as default
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
actions: read
checks: write
jobs:
test:
runs-on: ubuntu-latest
env:
DOTNET_VERSION: '7.0.x'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Test
run: dotnet test --logger "trx;LogFileName=result.xml" --verbosity normal --results-directory "TestResults-${{ env.DOTNET_VERSION }}"
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: dotnet-test-results-${{ env.DOTNET_VERSION }}
path: TestResults-${{ env.DOTNET_VERSION }}
if: ${{ always() }}
- name: Report test results
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test Report
path: "**/TestResults-${{ env.DOTNET_VERSION }}/*.xml"
reporter: dotnet-trx