Repository navigation
Unit Tests #272
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: [pull_request, workflow_dispatch] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET Core SDK | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| # 6.0.x runs QueryKit.Net6Tests on the .NET 6 runtime | |
| dotnet-version: | | |
| 6.0.x | |
| 10.0.x | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Test | |
| working-directory: QueryKit.UnitTests | |
| run: dotnet test --no-restore --configuration Release --verbosity minimal | |
| - name: Test on .NET 6 | |
| working-directory: QueryKit.Net6Tests | |
| run: dotnet test --configuration Release --verbosity minimal |