Skip to content

feat: enhance notification logic to check for existing dispatch recor… #17

feat: enhance notification logic to check for existing dispatch recor…

feat: enhance notification logic to check for existing dispatch recor… #17

Workflow file for this run

name: CI Build
on:
push:
branches:
- master
- develop
- enhancements
pull_request:
branches:
- master
- develop
- enhancements
permissions:
contents: read
concurrency:
group: ci-build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup .NET 8 SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ApiHealthDashboard.sln
- name: Build solution
run: dotnet build ApiHealthDashboard.sln -c Release --no-restore
- name: Run tests
run: dotnet test ApiHealthDashboard.sln -c Release --no-build --logger "trx;LogFileName=test-results.trx" --results-directory ./TestResults
- name: Upload test results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: test-results
path: TestResults/**/*.trx
if-no-files-found: warn