Skip to content

Improve agreement status #760

Improve agreement status

Improve agreement status #760

Re-run triggered November 21, 2024 07:33
Status Failure
Total duration 40s
Artifacts

test-backend.yml

on: pull_request
Matrix: dotnet_core_project_tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
dotnet_core_project_tests (8.x.x)
Process completed with exit code 1.
dotnet_core_project_tests (8.x.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dotnet_core_project_tests (8.x.x): backend/Core/Organizations/Organization.cs#L19
Non-nullable property 'Departments' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
dotnet_core_project_tests (8.x.x): backend/Core/Organizations/Organization.cs#L23
Non-nullable property 'AbsenceTypes' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
dotnet_core_project_tests (8.x.x): backend/Infrastructure/DatabaseContext/ApplicationContext.cs#L22
The type 'Core.Consultants.Consultant?' cannot be used as type parameter 'TEntity' in the generic type or method 'DbSet<TEntity>'. Nullability of type argument 'Core.Consultants.Consultant?' doesn't match 'class' constraint.
dotnet_core_project_tests (8.x.x): backend/Infrastructure/Repositories/Consultants/ConsultantDbRepository.cs#L40
The type 'Core.Consultants.Consultant?' cannot be used as type parameter 'TEntity' in the generic type or method 'EntityFrameworkQueryableExtensions.Include<TEntity, TProperty>(IQueryable<TEntity>, Expression<Func<TEntity, TProperty>>)'. Nullability of type argument 'Core.Consultants.Consultant?' doesn't match 'class' constraint.
dotnet_core_project_tests (8.x.x): backend/Infrastructure/Repositories/Consultants/ConsultantDbRepository.cs#L41
Nullability of reference types in type of parameter 'c' of 'lambda expression' doesn't match the target delegate 'Func<Consultant?, Department>' (possibly because of nullability attributes).
dotnet_core_project_tests (8.x.x): backend/Infrastructure/Repositories/Consultants/ConsultantDbRepository.cs#L40
The type 'Core.Consultants.Consultant?' cannot be used as type parameter 'TEntity' in the generic type or method 'EntityFrameworkQueryableExtensions.ThenInclude<TEntity, TPreviousProperty, TProperty>(IIncludableQueryable<TEntity, TPreviousProperty>, Expression<Func<TPreviousProperty, TProperty>>)'. Nullability of type argument 'Core.Consultants.Consultant?' doesn't match 'class' constraint.
dotnet_core_project_tests (8.x.x): backend/Infrastructure/Repositories/Consultants/ConsultantDbRepository.cs#L40
The type 'Core.Consultants.Consultant?' cannot be used as type parameter 'TEntity' in the generic type or method 'EntityFrameworkQueryableExtensions.Include<TEntity, TProperty>(IQueryable<TEntity>, Expression<Func<TEntity, TProperty>>)'. Nullability of type argument 'Core.Consultants.Consultant?' doesn't match 'class' constraint.
dotnet_core_project_tests (8.x.x)
No files were found with the provided path: TestResults-8.x.x. No artifacts will be uploaded.