Skip to content

Merge branch 'main' into dependabot/nuget/Newtonsoft.Json-13.0.3 #640

Merge branch 'main' into dependabot/nuget/Newtonsoft.Json-13.0.3

Merge branch 'main' into dependabot/nuget/Newtonsoft.Json-13.0.3 #640

GitHub Actions / report failed Jan 27, 2024 in 1s

report ❌

Tests failed

❌ reports/_fv-az1493-330_2024-01-27_08_04_44.trx

4048 tests were completed in 10s with 3032 passed, 1 failed and 1015 skipped.

Test suite Passed Failed Skipped Time
EliteAPI.Tests.Bindings 487✅ 41ms
EliteAPI.Tests.Convetions 2131✅ 11ms
EliteAPI.Tests.JournalManual 411✅ 1014⚪ 4s
EliteAPI.Tests.Parsers 3✅ 1s
EliteAPI.Tests.Schemas 1❌ 1⚪ 1ms

❌ EliteAPI.Tests.Schemas

❌ Event()
	System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
	  ----> System.IO.DirectoryNotFoundException : Could not find a part of the path '/home/runner/work/EliteAPI/EliteAPI/EliteAPI.Tests/bin/Release/net7.0/schemas-repo'.
⚪ Properties()

Annotations

Check failure on line 162 in EliteAPI.Tests/Schemas.cs

See this annotation in the file changed.

@github-actions github-actions / report

EliteAPI.Tests.Schemas ► Event()

Failed test found in:
  reports/_fv-az1493-330_2024-01-27_08_04_44.trx
Error:
  System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
    ----> System.IO.DirectoryNotFoundException : Could not find a part of the path '/home/runner/work/EliteAPI/EliteAPI/EliteAPI.Tests/bin/Release/net7.0/schemas-repo'.
Raw output
System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----> System.IO.DirectoryNotFoundException : Could not find a part of the path '/home/runner/work/EliteAPI/EliteAPI/EliteAPI.Tests/bin/Release/net7.0/schemas-repo'.
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at NUnit.Framework.TestCaseSourceAttribute.GetTestCaseSource(IMethodInfo method)
   at NUnit.Framework.TestCaseSourceAttribute.<>c__DisplayClass20_0.<GetTestCasesFor>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
   at NUnit.Framework.TestCaseSourceAttribute.GetTestCasesFor(IMethodInfo method)
--DirectoryNotFoundException
   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
   at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
   at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
   at EliteAPI.Tests.Schemas.GetSchemas() in /home/runner/work/EliteAPI/EliteAPI/EliteAPI.Tests/Schemas.cs:line 162
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)