fix: vocabulary matching uniform box layout, no scroll #131 #160
Workflow file for this run
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: Unit Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| dotnet-quality: 'preview' | |
| - name: Restore dependencies | |
| run: dotnet restore tests/SentenceStudio.UnitTests/SentenceStudio.UnitTests.csproj | |
| - name: Build unit tests | |
| run: dotnet build tests/SentenceStudio.UnitTests/SentenceStudio.UnitTests.csproj --no-restore --configuration Release | |
| - name: Run unit tests | |
| run: dotnet test tests/SentenceStudio.UnitTests/SentenceStudio.UnitTests.csproj --no-build --configuration Release --verbosity normal --logger "trx;LogFileName=test-results.trx" | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-results | |
| path: tests/SentenceStudio.UnitTests/TestResults/*.trx | |
| - name: Test Report | |
| uses: dorny/test-reporter@v1 | |
| if: always() | |
| with: | |
| name: Unit Test Results | |
| path: tests/SentenceStudio.UnitTests/TestResults/*.trx | |
| reporter: dotnet-trx |