Skip to content

Add support for system role in assertions #8

Add support for system role in assertions

Add support for system role in assertions #8

Triggered via push December 25, 2023 10:43
Status Success
Total duration 27s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/skUnit/Scenarios/Parsers/TextScenarioParser.cs#L102
Possible null reference argument for parameter 'key' in 'string Dictionary<string, string>.this[string key]'.
build: src/skUnit/Asserts/SemanticKernelAssert_Function.cs#L32
Possible null reference argument for parameter 'answer' in 'Task IKernelAssertion.Assert(Semantic semantic, string answer)'.
build: src/skUnit/Asserts/SemanticKernelAssert_Function.cs#L77
Possible null reference argument for parameter 'answer' in 'Task IKernelAssertion.Assert(Semantic semantic, string answer)'.
build: src/skUnit/Asserts/SemanticKernelAssert_Initialize.cs#L33
Possible null reference argument for parameter 'obj' in 'void Action<string>.Invoke(string obj)'.
build: src/skUnit/Asserts/SemanticKernelAssert_Kernel.cs#L49
Possible null reference argument for parameter 'answer' in 'Task IKernelAssertion.Assert(Semantic semantic, string answer)'.
build: src/skUnit/Asserts/SemanticKernelAssert_Kernel.cs#L109
Possible null reference argument for parameter 'answer' in 'Task IKernelAssertion.Assert(Semantic semantic, string answer)'.
build: src/skUnit/Scenarios/Parsers/Assertions/AreSameAssertion.cs#L15
Possible null reference argument for parameter 'message' in 'SemanticAssertException.SemanticAssertException(string message)'.
build: src/skUnit/Scenarios/Parsers/Assertions/ContainsAssertion.cs#L10
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: src/skUnit/Scenarios/Parsers/Assertions/ContainsAnyAssertion.cs#L10
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: src/skUnit.Tests/SemanticKernel/TextScenarioTests/SemanticTestBase.cs#L59
Converting null literal or possible null value to non-nullable type.