Skip to content

Add GitHub Actions CI/CD workflow for automated testing and code quality #13

Add GitHub Actions CI/CD workflow for automated testing and code quality

Add GitHub Actions CI/CD workflow for automated testing and code quality #13

Triggered via pull request December 17, 2025 10:09
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Build and Analyze
50s
Build and Analyze
Server Unit Tests (TUnit)
0s
Server Unit Tests (TUnit)
Client Component Tests (bUnit)
0s
Client Component Tests (bUnit)
Test Summary
2s
Test Summary
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L95
Make 'CreateMockUserPermissions' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L68
Make 'CreateMockCommandContextFactory' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L79
Make 'CreateMockQueryContextFactory' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: EndToEnd.Tests/SampleTest.cs#L10
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L130
Make 'CreateMockLogger' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L122
Make 'CreateMockHttpContextAccessor' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L95
Make 'CreateMockUserPermissions' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L68
Make 'CreateMockCommandContextFactory' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: Server.Tests/Helpers/HandlerTestBase.cs#L79
Make 'CreateMockQueryContextFactory' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and Analyze: EndToEnd.Tests/SampleTest.cs#L10
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L246
Add braces to 'if' statement. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0011)
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L230
Add braces to 'if' statement. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0011)
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L198
Add braces to 'if' statement. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0011)
Build and Analyze: Client/Modules/SampleModule/Settings.razor.cs#L48
The method 'HandleErrorAsync' does not need to use async/await. (https://github.com/semihokur/AsyncFixer)
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L59
Add braces to 'if' statement. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0011)
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L567
Dereference of a possibly null reference.
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L488
Dereference of a possibly null reference.
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L433
Dereference of a possibly null reference.
Build and Analyze: Client/Modules/FileHub/Category.razor.cs#L139
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.