Removes the temporary CI diagnostics

This commit is contained in:
BinaryAlley committed 2026-09-06 10:47:03 -07:00
1 parent f14b321294
commit 7db81f9494
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Set up .NET
@@ -29,7 +29,7 @@ jobs:
- name: Run tests
# blame-hang terminates a test that blocks for 10 minutes and dumps the hang stack,
# turning the recurring 'stuck job' into a failing job that names the culprit test
run: dotnet test src/Lumina.sln --no-build --verbosity normal --blame-hang --blame-hang-timeout 10m --filter "FullyQualifiedName~UpdateBookCoverEndpointTests"
run: dotnet test src/Lumina.sln --no-build --verbosity normal --blame-hang --blame-hang-timeout 10m
- name: Upload hang diagnostics
if: failure()
uses: actions/upload-artifact@v4
@@ -66,8 +66,8 @@ public class UpdateBookCoverEndpointTests : IClassFixture<AuthenticatedLuminaApi
HttpResponseMessage response = await _client.PutAsync($"/api/v1/books/{bookId}/cover", CreateCoverForm("cover.png"));
// Assert
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
string content = await response.Content.ReadAsStringAsync();
Assert.True(response.StatusCode == HttpStatusCode.OK, $"Unexpected status {(int)response.StatusCode}: {content}");
string storedPath = JsonSerializer.Deserialize<string>(content)!;
Assert.False(string.IsNullOrWhiteSpace(storedPath));
Assert.Contains("cover.png", storedPath, StringComparison.OrdinalIgnoreCase);
@@ -92,8 +92,8 @@ public class UpdateBookCoverEndpointTests : IClassFixture<AuthenticatedLuminaApi
HttpResponseMessage response = await _client.PutAsync($"/api/v1/books/{bookId}/cover", CreateCoverForm("cover.png"));
// Assert
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
string content = await response.Content.ReadAsStringAsync();
Assert.True(response.StatusCode == HttpStatusCode.OK, $"Unexpected status {(int)response.StatusCode}: {content}");
string storedPath = JsonSerializer.Deserialize<string>(content)!;
Assert.False(string.IsNullOrWhiteSpace(storedPath));