Skip to content

Update activity_diagram1.txt #24

Update activity_diagram1.txt

Update activity_diagram1.txt #24

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
name: Build and Run CI Tests
runs-on: ubuntu-latest
env:
DOTNET_VERSION: '8.0.x'
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore Dependencies
run: dotnet restore
- name: Build All Projects
run: dotnet build --configuration Release --no-restore
- name: Run NUnit CI Tests Only
run: |
dotnet test ./Testimize.Tests/Testimize.Tests.csproj \
--configuration Release \
--no-build \
--logger "trx;LogFileName=TestResults.trx" \
--filter "TestCategory=CI" \
--results-directory ./TestResults
- name: Upload Test Results as Artifact
uses: actions/upload-artifact@v4
with:
name: TestResults
path: ./TestResults/TestResults.trx
- name: Visualize Test Results (dorny/test-reporter)
uses: dorny/test-reporter@v1
if: always() # ensures this runs even if tests fail
with:
name: NUnit CI Test Report
path: ./TestResults/TestResults.trx
reporter: dotnet-trx