Skip to content

Run Tests & Publish #40

Run Tests & Publish

Run Tests & Publish #40

Triggered via release May 22, 2024 12:31
Status Failure
Total duration 11m 53s
Artifacts 3
Matrix: test
Publish for MacOS
45s
Publish for MacOS
Publish for Windows
8m 47s
Publish for Windows
Publish for Linux
4m 4s
Publish for Linux
Publish for Linux ARM64
3m 53s
Publish for Linux ARM64
discord-notification
0s
discord-notification
Fit to window
Zoom out
Zoom in

Annotations

1 error and 33 warnings
Publish for MacOS
Process completed with exit code 150.
test (ubuntu-latest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test (ubuntu-latest): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test (ubuntu-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test (ubuntu-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test (ubuntu-latest): TestHelpers/PersistEntityProvider.cs#L65
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test (ubuntu-latest): DataAccessTest/Extensions/ZipExtensionsUt.cs#L17
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
test (ubuntu-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L48
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.
test (ubuntu-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L147
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.
test (ubuntu-latest): DataAccessTest/Persistence/PersistenceCt.cs#L461
Dereference of a possibly null reference.
test (ubuntu-latest): DataAccessTest/Persistence/PersistenceCt.cs#L462
Dereference of a possibly null reference.
test (macos-latest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test (macos-latest): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test (macos-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test (macos-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test (macos-latest): TestHelpers/PersistEntityProvider.cs#L65
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test (macos-latest): DataAccessTest/Extensions/ZipExtensionsUt.cs#L17
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
test (macos-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L48
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.
test (macos-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L147
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.
test (macos-latest): DataAccessTest/Persistence/PersistenceCt.cs#L461
Dereference of a possibly null reference.
test (macos-latest): DataAccessTest/Persistence/PersistenceCt.cs#L462
Dereference of a possibly null reference.
test (windows-latest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test (windows-latest): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test (windows-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test (windows-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test (windows-latest): TestHelpers/PersistEntityProvider.cs#L65
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test (windows-latest): DataAccessTest/Extensions/ZipExtensionsUt.cs#L17
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
test (windows-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L48
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.
test (windows-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L147
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.
test (windows-latest): DataAccessTest/Persistence/PersistenceCt.cs#L461
Dereference of a possibly null reference.
test (windows-latest): DataAccessTest/Persistence/PersistenceCt.cs#L462
Dereference of a possibly null reference.
Publish for Linux ARM64
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: samuelmeuli/action-snapcraft@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Publish for Windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: vimtor/action-zip@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Publish for Windows
The following actions uses node12 which is deprecated and will be forced to run on node16: vimtor/action-zip@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
authoringtool-linux Expired
459 MB
authoringtool-linux-arm64 Expired
468 MB
authoringtool-win Expired
455 MB