2525 with :
2626 dotnet-version : ${{ env.DOTNET_VERSION }}
2727
28- - name : Install Aspire workload
29- run : dotnet workload install aspire
30-
3128 - name : Cache NuGet packages
3229 uses : actions/cache@v4
3330 with :
@@ -43,16 +40,19 @@ jobs:
4340 run : dotnet build --no-restore --configuration Release
4441
4542 - name : Run API unit tests (fast feedback)
46- run : dotnet test --project src/ApiService/BookStore.ApiService.Tests/BookStore.ApiService.Tests.csproj --configuration Release --no-build --treenode-filter "/**[Category=Unit]" ${{ github.event_name == 'pull_request' && '--fail-fast' || '' }}
43+ run : dotnet test --configuration Release --no-build --treenode-filter "/**[Category=Unit]" ${{ github.event_name == 'pull_request' && '--fail-fast' || '' }}
44+ working-directory : src/ApiService/BookStore.ApiService.Tests
4745 # TUnit automatically generates GitHub Actions test summary
4846 # Run fast unit tests first for quick feedback
4947
5048 - name : Run analyzer tests
51- run : dotnet test --project src/ApiService/BookStore.ApiService.Analyzers.Tests/BookStore.ApiService.Analyzers.Tests.csproj --configuration Release --no-build --treenode-filter "/**[Category=Unit]"
49+ run : dotnet test --configuration Release --no-build --treenode-filter "/**[Category=Unit]"
50+ working-directory : src/ApiService/BookStore.ApiService.Analyzers.Tests
5251 # Verify Roslyn analyzers work correctly
5352
5453 - name : Run web integration tests
55- run : dotnet test --project src/Web/BookStore.Web.Tests/BookStore.Web.Tests.csproj --configuration Release --no-build --treenode-filter "/**[Category=Integration]"
54+ run : dotnet test --configuration Release --no-build --treenode-filter "/**[Category=Integration]"
55+ working-directory : src/Web/BookStore.Web.Tests
5656 # Integration tests run after unit tests pass
5757 # Slower tests that require full application stack
5858
0 commit comments