diff --git a/.vsts-dotnet-ci.yml b/.vsts-dotnet-ci.yml index dd757c7938..664ac2b5a8 100644 --- a/.vsts-dotnet-ci.yml +++ b/.vsts-dotnet-ci.yml @@ -8,7 +8,7 @@ resources: image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-8bba86b-20190314145033 - container: UbuntuContainer - image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-mlnet-207e097-20190312152303 + image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-mlnet-20200515184230-2c829e8 jobs: - template: /build/ci/job-template.yml @@ -27,7 +27,8 @@ jobs: _config_short: RI _includeBenchmarkData: true _targetFramework: netcoreapp3.1 - innerLoop: true + innerLoop: false + runSpecific: true pool: name: Hosted Ubuntu 1604 @@ -36,7 +37,8 @@ jobs: name: Ubuntu_x64_NetCoreApp21 buildScript: ./build.sh container: UbuntuContainer - innerLoop: true + innerLoop: false + runSpecific: true pool: name: Hosted Ubuntu 1604 @@ -44,65 +46,7 @@ jobs: parameters: name: MacOS_x64_NetCoreApp21 buildScript: ./build.sh - innerLoop: true + innerLoop: false + runSpecific: true pool: name: Hosted macOS - -- template: /build/ci/job-template.yml - parameters: - name: Windows_x64_NetCoreApp31 - buildScript: build.cmd - customMatrixes: - Debug_Build: - _configuration: Debug-netcoreapp3_1 - _config_short: DI - _includeBenchmarkData: false - _targetFramework: netcoreapp3.1 - Release_Build: - _configuration: Release-netcoreapp3_1 - _config_short: RI - _includeBenchmarkData: true - _targetFramework: netcoreapp3.1 - innerLoop: true - vsTestConfiguration: "/Framework:.NETCoreApp,Version=v3.0" - pool: - name: Hosted VS2017 - -- template: /build/ci/job-template.yml - parameters: - name: Windows_x64_NetCoreApp21 - buildScript: build.cmd - innerLoop: true - vsTestConfiguration: "/Framework:.NETCoreApp,Version=v2.1" - pool: - name: Hosted VS2017 - -- template: /build/ci/job-template.yml - parameters: - name: Windows_x64_NetFx461 - buildScript: build.cmd - customMatrixes: - Debug_Build: - _configuration: Debug-netfx - _config_short: DFX - _includeBenchmarkData: false - _targetFramework: win-x64 - Release_Build: - _configuration: Release-netfx - _config_short: RFX - _includeBenchmarkData: false - _targetFramework: win-x64 - innerLoop: true - vsTestConfiguration: "/Framework:.NETCoreApp,Version=v4.0" - pool: - name: Hosted VS2017 - -- template: /build/ci/job-template.yml - parameters: - name: Windows_x86_NetCoreApp21 - architecture: x86 - buildScript: build.cmd - innerLoop: true - vsTestConfiguration: "/Framework:.NETCoreApp,Version=v2.1" - pool: - name: Hosted VS2017 diff --git a/test/Microsoft.ML.Tests/OnnxConversionTest.cs b/test/Microsoft.ML.Tests/OnnxConversionTest.cs index aca9d09c00..c97146e607 100644 --- a/test/Microsoft.ML.Tests/OnnxConversionTest.cs +++ b/test/Microsoft.ML.Tests/OnnxConversionTest.cs @@ -440,9 +440,11 @@ public void PlattCalibratorOnnxConversionTest2() Done(); } - [Fact] - public void TextNormalizingOnnxConversionTest() + // [Fact] + [Theory, IterationData(5), TestCategory("RunSpecificTest")] + public void TextNormalizingOnnxConversionTest(int iterations) { + Console.WriteLine(String.Format("TextNormalizingOnnxConversionTest Iteration {0}", iterations)); var mlContext = new MLContext(seed: 1); var dataPath = GetDataPath("wikipedia-detox-250-line-test.tsv"); var dataView = ML.Data.LoadFromTextFile(dataPath, new[] { @@ -462,7 +464,7 @@ public void TextNormalizingOnnxConversionTest() // Compare model scores produced by ML.NET and ONNX's runtime. // Skipping test in Linux platforms temporarily - if (IsOnnxRuntimeSupported() && !RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + if (IsOnnxRuntimeSupported()) { // Evaluate the saved ONNX model using the data used to train the ML.NET pipeline. var onnxEstimator = mlContext.Transforms.ApplyOnnxModel(onnxModelPath);