| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a424998 commit 22735f8
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,7 +44,7 @@ install: | |||
| 44 | 44 | ||
| 45 | 45 | script: | |
| 46 | 46 | - python -m pytest | |
| 47 | - - $RUN_TESTS src/embed_tests/bin/$EMBED_TESTS_PATH/Python.EmbeddingTest.dll | ||
| 47 | + - $RUN_TESTS src/embed_tests/bin/$EMBED_TESTS_PATH/Python.EmbeddingTest.dll --labels=All | ||
| 48 | 48 | # does not work on Linux, because NuGet package for 2.3 is Windows only | |
| 49 | 49 | # - "if [[ $TRAVIS_PYTHON_VERSION == '3.5' && $PERF_TESTS_PATH != '' ]]; then mono $NUNIT_PATH src/perf_tests/bin/$PERF_TESTS_PATH/Python.PerformanceTests.dll; fi" | |
| 50 | 50 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,7 +55,7 @@ if ($PYTHON_STATUS -ne 0) { | |||
| 55 | 55 | # Run Embedded tests with C# coverage | |
| 56 | 56 | Write-Host ("Starting embedded tests") -ForegroundColor "Green" | |
| 57 | 57 | .$OPENCOVER -register:user -searchdirs:"$RUNTIME_DIR" -output:cs.coverage ` | |
| 58 | - -target:"$CS_RUNNER" -targetargs:"$CS_TESTS" ` | ||
| 58 | + -target:"$CS_RUNNER" -targetargs:"$CS_TESTS --labels=All" ` | ||
| 59 | 59 | -filter:"+[*]Python.Runtime*" ` | |
| 60 | 60 | -returntargetcode | |
| 61 | 61 | $CS_STATUS = $LastExitCode | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,13 +77,16 @@ | |||
| 77 | 77 | ||
| 78 | 78 | ||
| 79 | 79 | <ItemGroup> | |
| 80 | - <PackageReference Include="NUnit" Version="3.7.1" /> | ||
| 81 | - <PackageReference Include="NUnit.ConsoleRunner" Version="3.7.0" /> | ||
| 82 | - <PackageReference Include="NUnit3TestAdapter" Version="3.8.0" /> | ||
| 83 | - <PackageReference Include="NUnitLite" Version="3.7.2" /> | ||
| 80 | + <PackageReference Include="NUnit" Version="3.12.0" /> | ||
| 81 | + <PackageReference Include="NUnit.ConsoleRunner" Version="3.11.1" /> | ||
| 82 | + <PackageReference Include="NUnit3TestAdapter" Version="3.16.1"> | ||
| 83 | + <PrivateAssets>all</PrivateAssets> | ||
| 84 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| 85 | + </PackageReference> | ||
| 86 | + <PackageReference Include="NUnitLite" Version="3.12.0" /> | ||
| 84 | 87 | </ItemGroup> | |
| 85 | 88 | <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'"> | |
| 86 | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" /> | ||
| 89 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> | ||
| 87 | 90 | </ItemGroup> | |
| 88 | 91 | <ItemGroup> | |
| 89 | 92 | <ProjectReference Include="..\runtime\Python.Runtime.15.csproj" /> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,8 +70,8 @@ | |||
| 70 | 70 | </PropertyGroup> | |
| 71 | 71 | <ItemGroup> | |
| 72 | 72 | <Reference Include="Microsoft.CSharp" /> | |
| 73 | - <Reference Include="nunit.framework, Version=3.7.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> | ||
| 74 | - <HintPath>..\..\packages\NUnit.3.7.1\lib\net40\nunit.framework.dll</HintPath> | ||
| 73 | + <Reference Include="nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> | ||
| 74 | + <HintPath>..\..\packages\NUnit.3.12.0\lib\net40\nunit.framework.dll</HintPath> | ||
| 75 | 75 | </Reference> | |
| 76 | 76 | <Reference Include="System" /> | |
| 77 | 77 | </ItemGroup> | |
@@ -126,4 +126,10 @@ | |||
| 126 | 126 | <Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" /> | |
| 127 | 127 | <!--Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /--> | |
| 128 | 128 | </Target> | |
| 129 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
| 130 | + <PropertyGroup> | ||
| 131 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
| 132 | + </PropertyGroup> | ||
| 133 | + <Error Condition="!Exists('..\..\packages\NUnit.3.12.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\NUnit.3.12.0\build\NUnit.props'))" /> | ||
| 134 | + </Target> | ||
| 129 | 135 | </Project> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> | |
| 2 | 2 | <packages> | |
| 3 | - <package id="NUnit" version="3.7.1" targetFramework="net40" /> | ||
| 4 | - <package id="NUnit.ConsoleRunner" version="3.7.0" targetFramework="net40" /> | ||
| 3 | + <package id="NUnit" version="3.12.0" targetFramework="net40" /> | ||
| 4 | + <package id="NUnit.ConsoleRunner" version="3.11.1" targetFramework="net40" /> | ||
| 5 | 5 | </packages> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,14 +11,17 @@ | |||
| 11 | 11 | </PropertyGroup> | |
| 12 | 12 | ||
| 13 | 13 | <ItemGroup> | |
| 14 | - <PackageReference Include="BenchmarkDotNet" Version="0.11.5" /> | ||
| 14 | + <PackageReference Include="BenchmarkDotNet" Version="0.12.0" /> | ||
| 15 | 15 | <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0"> | |
| 16 | 16 | <PrivateAssets>all</PrivateAssets> | |
| 17 | 17 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | |
| 18 | 18 | </PackageReference> | |
| 19 | 19 | <PackageReference Include="nunit" Version="3.12.0" /> | |
| 20 | - <PackageReference Include="NUnit3TestAdapter" Version="3.13.0" /> | ||
| 21 | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" /> | ||
| 20 | + <PackageReference Include="NUnit3TestAdapter" Version="3.16.1"> | ||
| 21 | + <PrivateAssets>all</PrivateAssets> | ||
| 22 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| 23 | + </PackageReference> | ||
| 24 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> | ||
| 22 | 25 | <PackageReference Include="pythonnet" Version="2.3.0" GeneratePathProperty="true"> | |
| 23 | 26 | <IncludeAssets>compile</IncludeAssets> | |
| 24 | 27 | </PackageReference> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments