Skip to content

Commit 63f0832

Browse files
committed
Change: Test Runner optimization
Yup, all is one now
1 parent 9e9fa4e commit 63f0832

File tree

29 files changed

+385
-635
lines changed

29 files changed

+385
-635
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,33 +25,9 @@ jobs:
2525

2626
# Ensure that the tests must pass
2727
# The job will fail automatically if any test fails because `dotnet test` exits with a non-zero code
28-
- name: Run tests - Extensions
28+
- name: Run tests
2929
run: dotnet run -c Release --no-restore --no-build
3030
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"
5531

5632
- name: Publish to NuGet
5733
env:

CodeOfChaos.Extensions.sln

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools.CodeOfChaos.Extension
1414
EndProject
1515
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.EntityFrameworkCore", "src\CodeOfChaos.Extensions.EntityFrameworkCore\CodeOfChaos.Extensions.EntityFrameworkCore.csproj", "{411473A5-2921-4758-B78C-E66BCFFE6303}"
1616
EndProject
17-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.EntityFrameworkCore", "tests\Tests.CodeOfChaos.Extensions.EntityFrameworkCore\Tests.CodeOfChaos.Extensions.EntityFrameworkCore.csproj", "{0A198DE2-E404-4BC4-9C6C-A4E1B4397463}"
18-
EndProject
1917
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.AspNetCore", "src\CodeOfChaos.Extensions.AspNetCore\CodeOfChaos.Extensions.AspNetCore.csproj", "{53BD8191-6E89-4E6D-AD32-5613ED73C422}"
2018
EndProject
21-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.AspNetCore", "tests\Tests.CodeOfChaos.Extensions.AspNetCore\Tests.CodeOfChaos.Extensions.AspNetCore.csproj", "{BC0AB42E-28A5-47FC-9017-1191C6899645}"
22-
EndProject
2319
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.Serilog", "src\CodeOfChaos.Extensions.Serilog\CodeOfChaos.Extensions.Serilog.csproj", "{DCFDADB7-06BE-49BB-A71F-3124A48B0ECF}"
2420
EndProject
25-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.Serilog", "tests\Tests.CodeOfChaos.Extensions.Serilog\Tests.CodeOfChaos.Extensions.Serilog.csproj", "{8670FBAC-E420-4DC6-82B1-AF0C5BF7F797}"
26-
EndProject
2721
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.Analyzers", "src\CodeOfChaos.Extensions.Analyzers\CodeOfChaos.Extensions.Analyzers.csproj", "{E9BB7403-5167-46CA-BE84-F420CF28C910}"
2822
EndProject
2923
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{C632855B-76D1-4D5E-9A0A-E631B5FE71A2}"
@@ -32,22 +26,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Examples.CodeOfChaos.Extens
3226
EndProject
3327
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Roslyn", "Roslyn", "{9F807E1D-D361-4CAB-8FD2-39B8A4F7AFFF}"
3428
EndProject
35-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.DependencyInjection", "tests\Tests.CodeOfChaos.Extensions.DependencyInjection\Tests.CodeOfChaos.Extensions.DependencyInjection.csproj", "{A0C53C66-FFEC-42EF-A1CD-4E7396DB74FA}"
36-
EndProject
37-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.DependencyInjection.Generators", "tests\Tests.CodeOfChaos.Extensions.DependencyInjection.Generators\Tests.CodeOfChaos.Extensions.DependencyInjection.Generators.csproj", "{77E466A0-F307-4452-8CBC-A541FC27F4BF}"
38-
EndProject
3929
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.DependencyInjection", "src\CodeOfChaos.Extensions.DependencyInjection\CodeOfChaos.Extensions.DependencyInjection.csproj", "{9B1053FC-89D7-412D-AA24-618EFC97FDA4}"
4030
EndProject
4131
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.DependencyInjection.Generators", "src\CodeOfChaos.Extensions.DependencyInjection.Generators\CodeOfChaos.Extensions.DependencyInjection.Generators.csproj", "{9FC9F294-BDB7-4479-B002-F0409E050A1E}"
4232
EndProject
43-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.Analyzers", "tests\Tests.CodeOfChaos.Extensions.Analyzers\Tests.CodeOfChaos.Extensions.Analyzers.csproj", "{E1F41678-9171-42C9-8877-F326D878AE05}"
44-
EndProject
4533
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.MicrosoftLogging", "src\CodeOfChaos.Extensions.MicrosoftLogging\CodeOfChaos.Extensions.MicrosoftLogging.csproj", "{76717F23-6ED9-4C3B-81AD-89C79B7D36BE}"
4634
EndProject
4735
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.FluentValidation", "src\CodeOfChaos.Extensions.FluentValidation\CodeOfChaos.Extensions.FluentValidation.csproj", "{6A293FAD-9E0C-4747-B2DE-AE6504E4CB4F}"
4836
EndProject
49-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.FluentValidation", "tests\Tests.CodeOfChaos.Extensions.FluentValidation\Tests.CodeOfChaos.Extensions.FluentValidation.csproj", "{0FFD99C9-3768-4E39-924D-D6847ABEC082}"
50-
EndProject
5137
Global
5238
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5339
Debug|Any CPU = Debug|Any CPU
@@ -70,26 +56,14 @@ Global
7056
{411473A5-2921-4758-B78C-E66BCFFE6303}.Debug|Any CPU.Build.0 = Debug|Any CPU
7157
{411473A5-2921-4758-B78C-E66BCFFE6303}.Release|Any CPU.ActiveCfg = Release|Any CPU
7258
{411473A5-2921-4758-B78C-E66BCFFE6303}.Release|Any CPU.Build.0 = Release|Any CPU
73-
{0A198DE2-E404-4BC4-9C6C-A4E1B4397463}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
74-
{0A198DE2-E404-4BC4-9C6C-A4E1B4397463}.Debug|Any CPU.Build.0 = Debug|Any CPU
75-
{0A198DE2-E404-4BC4-9C6C-A4E1B4397463}.Release|Any CPU.ActiveCfg = Release|Any CPU
76-
{0A198DE2-E404-4BC4-9C6C-A4E1B4397463}.Release|Any CPU.Build.0 = Release|Any CPU
7759
{53BD8191-6E89-4E6D-AD32-5613ED73C422}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
7860
{53BD8191-6E89-4E6D-AD32-5613ED73C422}.Debug|Any CPU.Build.0 = Debug|Any CPU
7961
{53BD8191-6E89-4E6D-AD32-5613ED73C422}.Release|Any CPU.ActiveCfg = Release|Any CPU
8062
{53BD8191-6E89-4E6D-AD32-5613ED73C422}.Release|Any CPU.Build.0 = Release|Any CPU
81-
{BC0AB42E-28A5-47FC-9017-1191C6899645}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
82-
{BC0AB42E-28A5-47FC-9017-1191C6899645}.Debug|Any CPU.Build.0 = Debug|Any CPU
83-
{BC0AB42E-28A5-47FC-9017-1191C6899645}.Release|Any CPU.ActiveCfg = Release|Any CPU
84-
{BC0AB42E-28A5-47FC-9017-1191C6899645}.Release|Any CPU.Build.0 = Release|Any CPU
8563
{DCFDADB7-06BE-49BB-A71F-3124A48B0ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
8664
{DCFDADB7-06BE-49BB-A71F-3124A48B0ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
8765
{DCFDADB7-06BE-49BB-A71F-3124A48B0ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
8866
{DCFDADB7-06BE-49BB-A71F-3124A48B0ECF}.Release|Any CPU.Build.0 = Release|Any CPU
89-
{8670FBAC-E420-4DC6-82B1-AF0C5BF7F797}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
90-
{8670FBAC-E420-4DC6-82B1-AF0C5BF7F797}.Debug|Any CPU.Build.0 = Debug|Any CPU
91-
{8670FBAC-E420-4DC6-82B1-AF0C5BF7F797}.Release|Any CPU.ActiveCfg = Release|Any CPU
92-
{8670FBAC-E420-4DC6-82B1-AF0C5BF7F797}.Release|Any CPU.Build.0 = Release|Any CPU
9367
{E9BB7403-5167-46CA-BE84-F420CF28C910}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
9468
{E9BB7403-5167-46CA-BE84-F420CF28C910}.Debug|Any CPU.Build.0 = Debug|Any CPU
9569
{E9BB7403-5167-46CA-BE84-F420CF28C910}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -98,14 +72,6 @@ Global
9872
{50072DFE-34A3-4E93-A2A1-02CDDCA66CBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
9973
{50072DFE-34A3-4E93-A2A1-02CDDCA66CBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
10074
{50072DFE-34A3-4E93-A2A1-02CDDCA66CBE}.Release|Any CPU.Build.0 = Release|Any CPU
101-
{A0C53C66-FFEC-42EF-A1CD-4E7396DB74FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
102-
{A0C53C66-FFEC-42EF-A1CD-4E7396DB74FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
103-
{A0C53C66-FFEC-42EF-A1CD-4E7396DB74FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
104-
{A0C53C66-FFEC-42EF-A1CD-4E7396DB74FA}.Release|Any CPU.Build.0 = Release|Any CPU
105-
{77E466A0-F307-4452-8CBC-A541FC27F4BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
106-
{77E466A0-F307-4452-8CBC-A541FC27F4BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
107-
{77E466A0-F307-4452-8CBC-A541FC27F4BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
108-
{77E466A0-F307-4452-8CBC-A541FC27F4BF}.Release|Any CPU.Build.0 = Release|Any CPU
10975
{9B1053FC-89D7-412D-AA24-618EFC97FDA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
11076
{9B1053FC-89D7-412D-AA24-618EFC97FDA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
11177
{9B1053FC-89D7-412D-AA24-618EFC97FDA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -114,10 +80,6 @@ Global
11480
{9FC9F294-BDB7-4479-B002-F0409E050A1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
11581
{9FC9F294-BDB7-4479-B002-F0409E050A1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
11682
{9FC9F294-BDB7-4479-B002-F0409E050A1E}.Release|Any CPU.Build.0 = Release|Any CPU
117-
{E1F41678-9171-42C9-8877-F326D878AE05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
118-
{E1F41678-9171-42C9-8877-F326D878AE05}.Debug|Any CPU.Build.0 = Debug|Any CPU
119-
{E1F41678-9171-42C9-8877-F326D878AE05}.Release|Any CPU.ActiveCfg = Release|Any CPU
120-
{E1F41678-9171-42C9-8877-F326D878AE05}.Release|Any CPU.Build.0 = Release|Any CPU
12183
{76717F23-6ED9-4C3B-81AD-89C79B7D36BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
12284
{76717F23-6ED9-4C3B-81AD-89C79B7D36BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
12385
{76717F23-6ED9-4C3B-81AD-89C79B7D36BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -126,31 +88,20 @@ Global
12688
{6A293FAD-9E0C-4747-B2DE-AE6504E4CB4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
12789
{6A293FAD-9E0C-4747-B2DE-AE6504E4CB4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
12890
{6A293FAD-9E0C-4747-B2DE-AE6504E4CB4F}.Release|Any CPU.Build.0 = Release|Any CPU
129-
{0FFD99C9-3768-4E39-924D-D6847ABEC082}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
130-
{0FFD99C9-3768-4E39-924D-D6847ABEC082}.Debug|Any CPU.Build.0 = Debug|Any CPU
131-
{0FFD99C9-3768-4E39-924D-D6847ABEC082}.Release|Any CPU.ActiveCfg = Release|Any CPU
132-
{0FFD99C9-3768-4E39-924D-D6847ABEC082}.Release|Any CPU.Build.0 = Release|Any CPU
13391
EndGlobalSection
13492
GlobalSection(NestedProjects) = preSolution
13593
{26284571-0E09-4BAF-8C2B-DF87DCC1BA0B} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
13694
{64B26DED-68C3-47FF-B409-1C8FAD4F9176} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
13795
{ADEADD97-0AFA-4D9E-970B-9FFB932949B3} = {AF1A203C-6EF1-440E-BB3C-55B1DBFE9C19}
13896
{411473A5-2921-4758-B78C-E66BCFFE6303} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
139-
{0A198DE2-E404-4BC4-9C6C-A4E1B4397463} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
14097
{53BD8191-6E89-4E6D-AD32-5613ED73C422} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
141-
{BC0AB42E-28A5-47FC-9017-1191C6899645} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
14298
{DCFDADB7-06BE-49BB-A71F-3124A48B0ECF} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
143-
{8670FBAC-E420-4DC6-82B1-AF0C5BF7F797} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
14499
{50072DFE-34A3-4E93-A2A1-02CDDCA66CBE} = {C632855B-76D1-4D5E-9A0A-E631B5FE71A2}
145100
{9F807E1D-D361-4CAB-8FD2-39B8A4F7AFFF} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
146101
{E9BB7403-5167-46CA-BE84-F420CF28C910} = {9F807E1D-D361-4CAB-8FD2-39B8A4F7AFFF}
147-
{A0C53C66-FFEC-42EF-A1CD-4E7396DB74FA} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
148-
{77E466A0-F307-4452-8CBC-A541FC27F4BF} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
149102
{9B1053FC-89D7-412D-AA24-618EFC97FDA4} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
150103
{9FC9F294-BDB7-4479-B002-F0409E050A1E} = {9F807E1D-D361-4CAB-8FD2-39B8A4F7AFFF}
151-
{E1F41678-9171-42C9-8877-F326D878AE05} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
152104
{76717F23-6ED9-4C3B-81AD-89C79B7D36BE} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
153105
{6A293FAD-9E0C-4747-B2DE-AE6504E4CB4F} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
154-
{0FFD99C9-3768-4E39-924D-D6847ABEC082} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
155106
EndGlobalSection
156107
EndGlobal

tests/Tests.CodeOfChaos.Extensions.Analyzers/Properties/launchSettings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.Analyzers/Tests.CodeOfChaos.Extensions.Analyzers.csproj

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.AspNetCore/Properties/launchSettings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.AspNetCore/Tests.CodeOfChaos.Extensions.AspNetCore.csproj

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.DependencyInjection.Generators/Tests.CodeOfChaos.Extensions.DependencyInjection.Generators.csproj

Lines changed: 0 additions & 29 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.DependencyInjection/Tests.CodeOfChaos.Extensions.DependencyInjection.csproj

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.EntityFrameworkCore/Properties/launchSettings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/Tests.CodeOfChaos.Extensions.EntityFrameworkCore/Tests.CodeOfChaos.Extensions.EntityFrameworkCore.csproj

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)