Skip to content

Add publish test github action #56

Add publish test github action

Add publish test github action #56

Workflow file for this run

name: Build and Test
on:
pull_request:
env:
TEST_RESULTS_PATH: ${{ github.workspace }}/test-results.trx
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
dotnet-version: 8.0.100
- run: dotnet build --configuration Release
- run: |
dotnet test --configuration Release --no-restore --no-build \
--logger "trx;LogFileName=${{ env.TEST_RESULTS_PATH }}"
- uses: dorny/test-reporter@v1
with:
name: XUnit Tests
path: ${{ env.TEST_RESULTS_PATH }}
reporter: dotnet-trx