|
11 | 11 | comparison-build: |
12 | 12 | name: Build and check KeyLoad |
13 | 13 | runs-on: ubuntu-latest |
14 | | - timeout-minutes: 30 |
| 14 | + timeout-minutes: 120 |
15 | 15 | steps: |
16 | 16 | - name: Download source code |
17 | 17 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
|
27 | 27 | run: dotnet format KeyLoad.slnx --verify-no-changes --no-restore |
28 | 28 | - name: Check repository rules |
29 | 29 | run: node scripts/Features/RepositoryGovernance/verify.mjs |
| 30 | + - name: Test benchmark contracts |
| 31 | + run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/KeyLoad.UnitTests*/*/*' --KeyLoadTests:ResultsDirectory=TestResults/benchmark-contracts --KeyLoadTests:ReportTrx=true |
| 32 | + - name: Test benchmark contracts without CPU intrinsics |
| 33 | + env: |
| 34 | + DOTNET_EnableHWIntrinsic: '0' |
| 35 | + run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/KeyLoad.UnitTests*/*/*' --KeyLoadTests:ResultsDirectory=TestResults/benchmark-contracts-scalar --KeyLoadTests:ReportTrx=true |
| 36 | + - name: Test prompt termination on Aspire resource failures |
| 37 | + run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/*/AspireFailure*/*' --KeyLoadTests:ResultsDirectory=TestResults/aspire-failure --KeyLoadTests:ReportTrx=true |
| 38 | + - name: Save benchmark contract test results |
| 39 | + if: always() |
| 40 | + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a |
| 41 | + with: |
| 42 | + name: benchmark-contract-tests |
| 43 | + path: TestResults/** |
| 44 | + if-no-files-found: error |
30 | 45 | - name: Save build diagnostics |
31 | 46 | if: always() |
32 | 47 | uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
|
84 | 99 | - name: Build benchmark tests |
85 | 100 | id: benchmark-build |
86 | 101 | run: dotnet build tests/KeyLoad.ComparisonTests --no-restore --configuration Release |
87 | | - - name: Build benchmark preparation unit tests |
88 | | - run: dotnet build tests/KeyLoad.UnitTests --no-restore --configuration Release |
89 | 102 | - name: Check bounded Docker registry readiness |
90 | | - run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=unit '--KeyLoadTests:Filter=/*/*/ImageRegistryReadinessTests/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/registry-readiness |
| 103 | + run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/*/ImageRegistryReadinessTests/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/registry-readiness |
91 | 104 | - name: Build KeyLoad server and benchmark Docker images |
92 | 105 | id: images |
93 | 106 | run: node scripts/Features/BenchmarkComparisons/prepare-images.mjs |
@@ -141,9 +154,9 @@ jobs: |
141 | 154 | - name: Test live benchmark progress capture |
142 | 155 | run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/*/ComparisonProgress*/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/live-progress |
143 | 156 | - name: Test live benchmark process entry |
144 | | - run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=unit '--KeyLoadTests:Filter=/*/*/NativeBenchmarkProgressEntryTests/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/live-entry |
| 157 | + run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/*/NativeBenchmarkProgressEntryTests/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/live-entry |
145 | 158 | - name: Test benchmark phase and attempt counters |
146 | | - run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=unit '--KeyLoadTests:Filter=/*/*/ComparisonLiveProgress*/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/live-counters |
| 159 | + run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/*/ComparisonLiveProgress*/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/live-counters |
147 | 160 | - name: Test KeyLoad replay admission |
148 | 161 | run: dotnet run --project src/KeyLoad.AppHost --no-build --no-restore --configuration Release -- --KeyLoadTests:Suite=comparison '--KeyLoadTests:Filter=/*/*/IsolatedKeyLoadReplayAdmissionTests/*' --KeyLoadTests:ResultsDirectory=TestResults/comparison-images/replay-admission |
149 | 162 | - name: Test Redis replica error reporting |
|
0 commit comments