Skip to content

add github tests

add github tests #1

Triggered via push December 6, 2024 21:13
Status Failure
Total duration 1m 3s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: FakeYou.NET.Tests/Policies/RetryPolicyTests.cs#L42
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.
test: FakeYou.NET.Tests/Client/FakeYouClientTests.cs#L60
Possible null reference argument for parameter 'source' in 'IEnumerable<LogEntry> Enumerable.Cast<LogEntry>(IEnumerable source)'.
test: FakeYou.NET.Tests/Client/FakeYouClientTests.cs#L140
The variable 'ex' is declared but never used
test: FakeYou.NET.Tests/Policies/RetryPolicyTests.cs#L66
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.
test: FakeYou.NET.Tests/Policies/RetryPolicyTests.cs#L94
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.
test: FakeYou.NET.Tests/Client/FakeYouClientTests.cs#L48
Public method 'GenerateAudioAsync_Success_ReturnsAudioData' on test class 'FakeYouClientTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
test: FakeYou.NET.Tests/Policies/RetryPolicyTests.cs#L42
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.
test: FakeYou.NET.Tests/Client/FakeYouClientTests.cs#L60
Possible null reference argument for parameter 'source' in 'IEnumerable<LogEntry> Enumerable.Cast<LogEntry>(IEnumerable source)'.
test: FakeYou.NET.Tests/Client/FakeYouClientTests.cs#L140
The variable 'ex' is declared but never used
test: FakeYou.NET.Tests/Policies/RetryPolicyTests.cs#L66
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.