Skip to content

Enhance GitHub Actions workflow for .NET testing and coverage reporti… #23

Enhance GitHub Actions workflow for .NET testing and coverage reporti…

Enhance GitHub Actions workflow for .NET testing and coverage reporti… #23

Triggered via push July 12, 2025 01:31
Status Success
Total duration 1m 28s
Artifacts 3

dotnet-test.yml

on: push
build-test-coverage
1m 22s
build-test-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 1 notice
build-test-coverage: CachingTest/DatabaseExpiredItemsRemoverLoopTests.cs#L196
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-test-coverage: CachingTest/PostgreSqlCacheTests.cs#L50
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
build-test-coverage: CachingTest/DatabaseOperationsTests.cs#L364
Dereference of a possibly null reference.
build-test-coverage: CachingTest/PostgreSqlCacheTests.cs#L42
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
build-test-coverage: CachingTest/DatabaseOperationsAdditionalTests.cs#L192
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
build-test-coverage: CachingTest/DatabaseOperationsTests.cs#L349
Dereference of a possibly null reference.
build-test-coverage: CachingTest/DatabaseOperationsAdditionalTests.cs#L184
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
build-test-coverage: CachingTest/PostgreSqlCacheTests.cs#L34
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
build-test-coverage: CachingTest/DatabaseOperationsAdditionalTests.cs#L176
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
build-test-coverage: CachingTest/PostgreSqlCacheTests.cs#L26
'PostgreSqlCache.PostgreSqlCache(IOptions<PostgreSqlCacheOptions>, IDatabaseOperations, IDatabaseExpiredItemsRemoverLoop)' is obsolete: 'Do not use constructor directly instead pull IDistributedCache from DI. For this add 'services.AddDistributedPostgreSqlCache''
206 tests found
There are 206 tests, see "Raw output" for the full list of tests.

Artifacts

Produced during runtime
Name Size Digest
coverage-report Expired
5.43 KB
sha256:b1fbcfd0524a5ccdea023f780e89b24a0ad4108937ee6a033153fa24e423e88d
html-coverage-report Expired
200 KB
sha256:187e915310f10e2bde05aabcae199d84221d3db4ffd97f5639b187ad8fe1057e
test-results Expired
41.9 KB
sha256:0c70eeedd2429378c0d78a3372759b9da964b08a712bca79d47c7c5b8951d4d4