Skip to content

Add publish test github action #31

Add publish test github action

Add publish test github action #31

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: actions/upload-artifact@v4
with:
name: upload-test-results
path: ${{ env.TEST_RESULTS_PATH }}