Skip to content

add better control discord webhook handler #68

add better control discord webhook handler

add better control discord webhook handler #68

Workflow file for this run

name: Synix automated tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
name: Windows test suite
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install .NET 10 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Restore dependencies
run: dotnet restore "SynixApp/Tests/Synix.Tests.csproj"
- name: Build tests
run: dotnet build "SynixApp/Tests/Synix.Tests.csproj" --configuration Release --no-restore
- name: Run tests
run: dotnet test "SynixApp/Tests/Synix.Tests.csproj" --configuration Release --no-build --logger "trx;LogFileName=synix-tests.trx" --results-directory "TestResults"
- name: Upload failed test results
if: failure()
uses: actions/upload-artifact@v4
with:
name: synix-test-results
path: TestResults
if-no-files-found: ignore