|
25 | 25 |
|
26 | 26 | # Ensure that the tests must pass |
27 | 27 | # The job will fail automatically if any test fails because `dotnet test` exits with a non-zero code |
28 | | - - name: Run tests - Extensions |
29 | | - run: dotnet run -c Release --no-restore --no-build |
30 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions" |
31 | | - - name: Run tests - Extensions.Analyzers |
32 | | - run: dotnet run -c Release --no-restore --no-build |
33 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.Analyzers" |
34 | | - - name: Run tests - Extensions.AspNetCore |
35 | | - run: dotnet run -c Release --no-restore --no-build |
36 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.AspNetCore" |
37 | | - - name: Run tests - Extensions.EntityFrameworkCore |
38 | | - run: dotnet run -c Release --no-restore --no-build |
39 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.EntityFrameworkCore" |
40 | | -# - name: Run tests - Extensions.MicrosoftLogging |
41 | | -# run: dotnet run -c Release --no-restore --no-build |
42 | | -# working-directory: "tests/Tests.CodeOfChaos.Extensions.MicrosoftLogging" |
43 | | - - name: Run tests - Extensions.Serilog |
44 | | - run: dotnet run -c Release --no-restore --no-build |
45 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.Serilog" |
46 | | - - name: Run tests - Extensions.DependencyInjection |
47 | | - run: dotnet run -c Release --no-restore --no-build |
48 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.DependencyInjection" |
49 | | - - name: Run tests - Extensions.DependencyInjection.Generators |
50 | | - run: dotnet run -c Release --no-restore --no-build |
51 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.DependencyInjection.Generators" |
52 | | - - name: Run tests - Extensions.FluentValidation |
53 | | - run: dotnet run -c Release --no-restore --no-build |
54 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.FluentValidation" |
55 | | - - name: Run tests - Extensions.ObjectPool |
56 | | - run: dotnet run -c Release --no-restore --no-build |
57 | | - working-directory: "tests/Tests.CodeOfChaos.Extensions.ObjectPool" |
| 28 | + - name: Run tests |
| 29 | + run: dotnet test CodeOfChaos.Extensions.sln --configuration Release --no-restore --no-build |
58 | 30 |
|
59 | 31 | - name: Publish to NuGet |
60 | 32 | env: |
|
0 commit comments