Skip to content

Split NugetHelper code into separate classes #192

Split NugetHelper code into separate classes

Split NugetHelper code into separate classes #192

Triggered via pull request August 20, 2023 20:19
@JoC0deJoC0de
opened #560
Status Failure
Total duration 5m 19s
Artifacts 2

main.yml

on: pull_request_target
Determine Version Number
19s
Determine Version Number
Test on linux
5m 8s
Test on linux
Pack .NET Core Global Tool
39s
Pack .NET Core Global Tool
Create .unitypackage on linux
2m 0s
Create .unitypackage on linux
Matrix: Run test projects on linux
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 20 warnings
Pack .NET Core Global Tool: src/NuGetForUnity.Cli/Program.cs#L55
The name 'NugetHelper' does not exist in the current context
Pack .NET Core Global Tool: src/NuGetForUnity/Editor/InstalledPackagesManager.cs#L263
'UnityPreImportedLibraryResolver' does not contain a definition for 'IsAlreadyImportedInEngine'
Pack .NET Core Global Tool: src/NuGetForUnity.Cli/Program.cs#L75
The name 'NugetHelper' does not exist in the current context
Pack .NET Core Global Tool: src/NuGetForUnity.Cli/Program.cs#L75
The name 'NugetHelper' does not exist in the current context
Pack .NET Core Global Tool: src/NuGetForUnity.Cli/Program.cs#L81
The name 'NugetHelper' does not exist in the current context
Pack .NET Core Global Tool: src/NuGetForUnity/Editor/NugetPackageInstaller.cs#L25
'UnityPreImportedLibraryResolver' does not contain a definition for 'IsAlreadyImportedInEngine'
Pack .NET Core Global Tool: src/NuGetForUnity/Editor/NugetPackageUninstaller.cs#L22
'UnityPreImportedLibraryResolver' does not contain a definition for 'IsAlreadyImportedInEngine'
Pack .NET Core Global Tool: src/NuGetForUnity/Editor/NugetPackageInstaller.cs#L52
'UnityPreImportedLibraryResolver' does not contain a definition for 'IsAlreadyImportedInEngine'
Pack .NET Core Global Tool
Process completed with exit code 1.
NuGetTests.VersionInRangeTest("(1.0,)","2.0"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
2.0 was NOT in range of (1.0,)! Expected: True But was: False
NuGetTests.VersionInRangeTest("[1.0]","1.0"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
1.0 was NOT in range of [1.0]! Expected: True But was: False
NuGetTests.VersionInRangeTest("(,1.0]","0.5"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
0.5 was NOT in range of (,1.0]! Expected: True But was: False
NuGetTests.VersionInRangeTest("(,1.0]","1.0"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
1.0 was NOT in range of (,1.0]! Expected: True But was: False
NuGetTests.VersionInRangeTest("(,1.0)","0.5"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
0.5 was NOT in range of (,1.0)! Expected: True But was: False
NuGetTests.VersionInRangeTest("[1.0,2.0]","1.0"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
1.0 was NOT in range of [1.0,2.0]! Expected: True But was: False
NuGetTests.VersionInRangeTest("[1.0,2.0]","2.0"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
2.0 was NOT in range of [1.0,2.0]! Expected: True But was: False
NuGetTests.VersionInRangeTest("(1.0,2.0)","1.5"): src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs#L443
1.5 was NOT in range of (1.0,2.0)! Expected: True But was: False
Test on linux
Test(s) Failed! Check 'Test Results' for details.
Create .unitypackage on linux
Library folder does not exist. Consider setting up caching to speed up your workflow, if this is not your first build.
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NuGetTests:InstallAndSearchLocalPackageSource(Boolean) (at Assets/Tests/Editor/NuGetTests.cs:363) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NuGetTests:InstallAndSearchLocalPackageSource(Boolean) (at Assets/Tests/Editor/NuGetTests.cs:363) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallBootstrapCSSTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:144) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallBootstrapCSSTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:144) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallBootstrapCSSTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:144) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallMicrosoftMlProbabilisticCompilerTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:256) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallMicrosoftMlProbabilisticCompilerTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:256) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallMicrosoftMlProbabilisticCompilerTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:256) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallPrereleasPackage(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:299) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
Test on linux
Not able to find annotation point for failed test! Test trace: NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:35) NugetForUnity.NugetPackageInstaller:Install(INugetPackage, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:130) NugetForUnity.NugetPackageInstaller:InstallIdentifier(INugetPackageIdentifier, Boolean, Boolean) (at /github/workspace/src/NuGetForUnity/Editor/NugetPackageInstaller.cs:40) NuGetTests:InstallSignalRClientTest(InstallMode) (at Assets/Tests/Editor/NuGetTests.cs:217) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.MethodWrapper:Invoke(Object, Object[]) NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestMethodCommand:Execute(ITestExecutionContext) NUnit.Framework.Internal.Commands.TestActionCommand:Execute(ITestExecutionContext) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)

Artifacts

Produced during runtime
Name Size
NuGetForUnity.3.1.4-dev.21+ad277db.unitypackage Expired
301 KB
NuGetForUnity.dll Expired
161 KB