Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
- name: Build solution
run: dotnet build $SOLUTION_PATH --no-restore --configuration Release

# Step 5: Run Unit Tests (xUnit)
# Step 5: Run Unit Tests (xUnit) with diagnostic verbosity
- name: Run unit tests
run: dotnet test $TEST_PROJECT_PATH --no-build --configuration Release --verbosity normal
run: dotnet test $TEST_PROJECT_PATH --no-build --configuration Release --logger "trx;LogFileName=test_results.trx" --verbosity diagnostic
# Step 6: Upload Test Results as Artifact
- name: Upload Test Results as Artifact
uses: actions/upload-artifact@v3
with:
name: Test Results
path: ${{ github.workspace }}/SimpleAPI.Test/bin/Release/net8.0/test_results.trx
Loading