Skip to content

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

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 #3835

Triggered via pull request February 26, 2025 17:38
Status Success
Total duration 4m 36s
Artifacts 1

code-pr-check.yml

on: pull_request
Lint & Commit
52s
Lint & Commit
Build database upgrader
15s
Build database upgrader
Run javascript tests
18s
Run javascript tests
Run Jest Tests for Contentful
40s
Run Jest Tests for Contentful
Build and run unit tests
3m 5s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
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.

Artifacts

Produced during runtime
Name Size
code-coverage-report
61.4 KB