Skip to content

Commit

Permalink
runSpecific: true
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovs1029 committed Dec 8, 2020
1 parent 5ea01ea commit 2fb5f8c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
21 changes: 14 additions & 7 deletions .vsts-dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
_config_short: RI
_includeBenchmarkData: true
_targetFramework: netcoreapp3.1
innerLoop: true
innerLoop: false
runSpecific: true
pool:
name: Hosted Ubuntu 1604

Expand All @@ -36,15 +37,17 @@ jobs:
name: Ubuntu_x64_NetCoreApp21
buildScript: ./build.sh
container: UbuntuContainer
innerLoop: true
innerLoop: false
runSpecific: true
pool:
name: Hosted Ubuntu 1604

- template: /build/ci/job-template.yml
parameters:
name: MacOS_x64_NetCoreApp21
buildScript: ./build.sh
innerLoop: true
innerLoop: false
runSpecific: true
pool:
name: Hosted macOS

Expand All @@ -63,7 +66,8 @@ jobs:
_config_short: RI
_includeBenchmarkData: true
_targetFramework: netcoreapp3.1
innerLoop: true
innerLoop: false
runSpecific: true
vsTestConfiguration: "/Framework:.NETCoreApp,Version=v3.0"
pool:
name: Hosted VS2017
Expand All @@ -72,7 +76,8 @@ jobs:
parameters:
name: Windows_x64_NetCoreApp21
buildScript: build.cmd
innerLoop: true
innerLoop: false
runSpecific: true
vsTestConfiguration: "/Framework:.NETCoreApp,Version=v2.1"
pool:
name: Hosted VS2017
Expand All @@ -92,7 +97,8 @@ jobs:
_config_short: RFX
_includeBenchmarkData: false
_targetFramework: win-x64
innerLoop: true
innerLoop: false
runSpecific: true
vsTestConfiguration: "/Framework:.NETCoreApp,Version=v4.0"
pool:
name: Hosted VS2017
Expand All @@ -102,7 +108,8 @@ jobs:
name: Windows_x86_NetCoreApp21
architecture: x86
buildScript: build.cmd
innerLoop: true
innerLoop: false
runSpecific: true
vsTestConfiguration: "/Framework:.NETCoreApp,Version=v2.1"
pool:
name: Hosted VS2017
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.IO;
using System.Linq;
using Microsoft.ML.Data;
using Microsoft.ML.TestFrameworkCommon.Attributes;
using Microsoft.ML.Trainers.FastTree;
using Xunit;

Expand Down Expand Up @@ -420,9 +421,11 @@ public void TestFastForestBinaryFeaturizationInPipeline()
Assert.True(metrics.AreaUnderPrecisionRecallCurve > 0.98);
}

[Fact]
public void TestFastTreeRegressionFeaturizationInPipeline()
[Theory, IterationData(25)]
[TestCategory("RunSpecificTest")]
public void TestFastTreeRegressionFeaturizationInPipeline(int iteration)
{
Console.WriteLine(iteration);
int dataPointCount = 200;
var data = SamplesUtils.DatasetUtils.GenerateFloatLabelFloatFeatureVectorSamples(dataPointCount).ToList();
var dataView = ML.Data.LoadFromEnumerable(data);
Expand Down

0 comments on commit 2fb5f8c

Please sign in to comment.