Skip to content

feat(236242): Run contentful tests on PR (code-pr.check.yml) & added unit tests for contentful-migrations #3845

feat(236242): Run contentful tests on PR (code-pr.check.yml) & added unit tests for contentful-migrations

feat(236242): Run contentful tests on PR (code-pr.check.yml) & added unit tests for contentful-migrations #3845

Triggered via pull request February 27, 2025 23:37
Status Failure
Total duration 3m 27s
Artifacts

code-pr-check.yml

on: pull_request
Lint & Commit
48s
Lint & Commit
Build database upgrader
29s
Build database upgrader
Run javascript tests
14s
Run javascript tests
Run Jest Tests for Contentful
37s
Run Jest Tests for Contentful
Build and run unit tests
2m 23s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
Build and run unit tests
Process completed with exit code 100.
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.
Run Jest Tests for Contentful
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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.Domain/Content/Models/ContentSupport/ContentItem.cs#L11
'ContentItem.Data' hides inherited member 'ContentItemBase.Data'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Models/ContentSupport/ContentItemBase.cs#L9
'ContentItemBase.Data' hides inherited member 'ContentBase.Data'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.PlanTech.Application/Responses/Queries/GetLatestResponsesQuery.cs#L11
Parameter 'IPlanTechDbContext db' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
Build and run unit tests: src/Dfe.PlanTech.Infrastructure.SignIn/ConnectEvents/OnUserInformationReceivedEvent.cs#L57
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
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.Domain/Content/Models/ContentSupport/ContentItem.cs#L11
'ContentItem.Data' hides inherited member 'ContentItemBase.Data'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Models/ContentSupport/ContentItemBase.cs#L9
'ContentItemBase.Data' hides inherited member 'ContentBase.Data'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.PlanTech.Application/Responses/Queries/GetLatestResponsesQuery.cs#L11
Parameter 'IPlanTechDbContext db' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.