Skip to content

fix/190310 - Category/Section Order & Section/Question Order #1761

fix/190310 - Category/Section Order & Section/Question Order

fix/190310 - Category/Section Order & Section/Question Order #1761

Triggered via pull request January 16, 2024 10:18
Status Failure
Total duration 8m 12s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

code-pr-check.yml

on: pull_request
Get Directories for Linting
3s
Get Directories for Linting
Build database upgrader
26s
Build database upgrader
Run javascript tests
21s
Run javascript tests
Matrix: Lint & Commit
Build and run unit tests
2m 4s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 21 warnings
Lint & Commit (Dfe.PlanTech.Application/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.AzureFunctions/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.DatabaseUpgrader/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Domain/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Infrastructure.Contentful/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Infrastructure.Data/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Infrastructure.SignIn/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Web.Node/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Web/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Dfe.PlanTech.Application.UnitTests.Content.Queries.GetCategorySectionsQueryTests ► Should_Retrieve_Sections_When_Page_Has_Category: tests/Dfe.PlanTech.Application.UnitTests/Content/Queries/GetCategorySectionsQueryTests.cs#L182
Failed test found in: tests/Dfe.PlanTech.Application.UnitTests/TestResults/test-results.trx Error: Assert.Equal() Failure: Values differ Expected: 2 Actual: 0
Build and run unit tests
Failed test were found and 'fail-on-error' option is set to true
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Lint & Commit (Dfe.PlanTech.Application/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.AzureFunctions/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.DatabaseUpgrader/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Domain/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Infrastructure.Contentful/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Infrastructure.Data/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Infrastructure.SignIn/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Web.Node/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Web/)
Some check runs could not be created.
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: src/Dfe.PlanTech.AzureFunctions/Functions/QueueReceiver.cs#L106
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Build and run unit tests: tests/Dfe.PlanTech.Infrastructure.SignIn.UnitTests/DfeOpenIdConnectEventsTests.cs#L286
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 and run unit tests: src/Dfe.PlanTech.Web/Controllers/CheckAnswersController.cs#L47
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/AsyncQueryProvider.cs#L50
Converting null literal or possible null value to non-nullable type.