v1.0.24 #130
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |