Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net8 tests #7319

Merged
merged 48 commits into from
Dec 16, 2024
Merged

Net8 tests #7319

merged 48 commits into from
Dec 16, 2024

Conversation

michaelgsharp
Copy link
Member

Updating tests to work on net8

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.88%. Comparing base (d4bc05d) to head (278b277).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #7319     +/-   ##
=========================================
  Coverage   68.87%   68.88%             
=========================================
  Files        1470     1473      +3     
  Lines      274005   270771   -3234     
  Branches    28403    27884    -519     
=========================================
- Hits       188727   186510   -2217     
+ Misses      77959    76987    -972     
+ Partials     7319     7274     -45     
Flag Coverage Δ
Debug 68.88% <100.00%> (+<0.01%) ⬆️
production 63.19% <100.00%> (-0.10%) ⬇️
test 89.38% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
....CodeGenerator/Templates/Console/PredictProject.cs 46.00% <100.00%> (ø)
src/Microsoft.ML.Core/CommandLine/CmdParser.cs 56.81% <100.00%> (+0.11%) ⬆️
src/Microsoft.ML.Data/Utilities/TimerScope.cs 100.00% <100.00%> (ø)
...soft.ML.EntryPoints/JsonUtils/JsonManifestUtils.cs 83.66% <ø> (ø)
...t.ML.FastTree/TreeEnsemble/InternalTreeEnsemble.cs 68.19% <100.00%> (ø)
...osoft.Data.Analysis.Tests/ArrowIntegrationTests.cs 100.00% <ø> (ø)
...soft.Data.Analysis.Tests/ArrowStringColumnTests.cs 100.00% <ø> (ø)
...Microsoft.Data.Analysis.Tests/DataFrame.IOTests.cs 99.14% <ø> (+<0.01%) ⬆️
...ysis.Tests/DataFrameColumn.BinaryOperationTests.cs 100.00% <ø> (ø)
...osoft.Data.Analysis.Tests/DataFrameGroupByTests.cs 100.00% <ø> (ø)
... and 18 more

... and 48 files with indirect coverage changes

smp73

This comment was marked as spam.

@ericstj
Copy link
Member

ericstj commented Dec 11, 2024

- script: ${{ parameters.MsBuildScript}}
$(Build.SourcesDirectory)/eng/helix.proj
/t:Restore
/bl:$(Build.SourcesDirectory)/artifacts/log/${{ parameters.Configuration }}/SendToHelix.binlog
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This uses the same log as below, also most of these parameters are not needed for restore. I imagine this step is just temporary until we refactor in a follow up PR though.

eng/helix.proj Outdated
@@ -149,16 +161,21 @@
<Delete Condition="$(HelixTargetQueues.ToLowerInvariant().Contains('ubuntu'))"
Files="@(WindowsFiles);@(OsxFiles)" />

<GenerateFileFromTemplate TemplateFile="$(MSBuildThisFileDirectory)testing\$(RunTestScript)"
OutputPath="$(TargetDir)$(RunTestScript)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This TargetDir is not correct. In my PR this worked because I would generate in the context of each test project, so TargetDir would point to the output of the test. Here you are running in the context of helix.proj so targetdir is the output directory of that one project. I think you need to instead generate into the test's directory, or somehow copy there.

@ericstj ericstj requested a review from Copilot December 13, 2024 23:28

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 191 out of 206 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • build/Codecoverage.proj: Language not supported
  • docs/samples/Microsoft.ML.AutoML.Samples/Microsoft.ML.AutoML.Samples.csproj: Language not supported
  • docs/samples/Microsoft.ML.Samples.GPU/Microsoft.ML.Samples.GPU.csproj: Language not supported
  • docs/samples/Microsoft.ML.Samples.OneDal/Microsoft.ML.Samples.OneDal.csproj: Language not supported
  • docs/samples/Microsoft.ML.Samples/Microsoft.ML.Samples.csproj: Language not supported
  • eng/Versions.props: Language not supported
  • eng/helix.proj: Language not supported
  • eng/testing/runTests.cmd: Language not supported
  • eng/testing/runTests.sh: Language not supported
  • global.json: Language not supported
  • src/Microsoft.Data.Analysis.Interactive/Microsoft.Data.Analysis.Interactive.csproj: Language not supported
  • src/Microsoft.Data.Analysis/Microsoft.Data.Analysis.csproj: Language not supported
  • src/Microsoft.ML.AutoML.Interactive/Microsoft.ML.AutoML.Interactive.csproj: Language not supported
  • src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj: Language not supported
  • src/Microsoft.ML.CodeGenerator/Templates/Console/PredictProject.tt: Language not supported
Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I reviewed projects / targets / source. I trust all the other baseline changes make sense.

@michaelgsharp michaelgsharp merged commit c04d405 into dotnet:main Dec 16, 2024
25 checks passed
@michaelgsharp michaelgsharp deleted the net8.0-tests branch December 16, 2024 19:00
@michaelgsharp michaelgsharp restored the net8.0-tests branch December 17, 2024 23:42
@michaelgsharp michaelgsharp deleted the net8.0-tests branch December 17, 2024 23:42
@github-actions github-actions bot locked and limited conversation to collaborators Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants