-
Notifications
You must be signed in to change notification settings - Fork 95
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
Upgrade tests and build to net7 except for Fable (net6) #525
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1b582c1
Upgrade to net7
wallymathieu dc5763c
Add net6 for Fable tests
wallymathieu 2cf046a
+net6 for testFable3SubsetOnCore
wallymathieu 11adb81
Revert upgrade net7 to fable
gusty 5afd356
Remove global.json
gusty 5b1169a
Upgrade DivRem
gusty 296c095
Revert "Remove global.json"
wallymathieu 5a086de
rm global json in fable.yml
wallymathieu a60c04a
net6 for Fable
wallymathieu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.200", | ||
"version": "7.0.100", | ||
"rollForward": "latestFeature" | ||
}, | ||
|
||
"additionalSdks": [ | ||
"5.0.405" | ||
"5.0.405", | ||
"6.0.201" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Configurations>Debug;Release;Fable;Fable3</Configurations> | ||
<Platforms>AnyCPU</Platforms> | ||
<LangVersion Condition=" '$(Configuration)' == 'Fable' OR '$(Configuration)' == 'Fable3' ">6.0</LangVersion> | ||
<DefineConstants Condition=" '$(Configuration)' == 'Fable'">$(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_FAKE</DefineConstants> | ||
<DefineConstants Condition=" '$(Configuration)' == 'Fable3'">$(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_3;FABLE_COMPILER_FAKE</DefineConstants> | ||
<TargetFramework>net6.0</TargetFramework> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Configurations>Debug;Release;Fable;Fable3</Configurations> | ||
<Platforms>AnyCPU</Platforms> | ||
<LangVersion Condition=" '$(Configuration)' == 'Fable' OR '$(Configuration)' == 'Fable3' ">6.0</LangVersion> | ||
<DefineConstants Condition=" '$(Configuration)' == 'Fable'">$(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_FAKE</DefineConstants> | ||
<DefineConstants Condition=" '$(Configuration)' == 'Fable3'">$(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_3;FABLE_COMPILER_FAKE</DefineConstants> | ||
<TargetFramework>net6.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="Util.fs" /> | ||
<Compile Include="FSharpTests/General/Util.fs" /> | ||
<Compile Include="FSharpTests/General/Splits.fs" /> | ||
<Compile Include="FSharpTests/General/MonoidCompile.fs" /> | ||
<Compile Include="FSharpTests/General/Monoid.fs" /> | ||
<Compile Include="FSharpTests/General/Functor.fs" /> | ||
<Compile Include="FSharpTests/General/Collections.fs" /> | ||
<Compile Include="FSharpTests/General/Monad.fs" /> | ||
<Compile Include="FSharpTests/General/Applicative.fs" /> | ||
<Compile Include="FSharpTests/General/Alternative.fs" /> | ||
<Compile Include="FSharpTests/General/Foldable.fs" /> | ||
<Compile Include="FSharpTests/General/Indexable.fs" /> | ||
<Compile Include="FSharpTests/General/Parsing.fs" /> | ||
<Compile Include="FSharpTests/General/Traversable.fs" /> | ||
<Compile Include="FSharpTests/General/Lensing.fs" /> | ||
<Compile Include="FSharpTests/General/Numeric.fs" /> | ||
<Compile Include="FSharpTests/General.fs" /> | ||
<Compile Include="FSharpTests/Extensions.fs" /> | ||
<Compile Include="Tests.fs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Util.fs" /> | ||
<Compile Include="FSharpTests/General/Util.fs" /> | ||
<Compile Include="FSharpTests/General/Splits.fs" /> | ||
<Compile Include="FSharpTests/General/MonoidCompile.fs" /> | ||
<Compile Include="FSharpTests/General/Monoid.fs" /> | ||
<Compile Include="FSharpTests/General/Functor.fs" /> | ||
<Compile Include="FSharpTests/General/Collections.fs" /> | ||
<Compile Include="FSharpTests/General/Monad.fs" /> | ||
<Compile Include="FSharpTests/General/Applicative.fs" /> | ||
<Compile Include="FSharpTests/General/Alternative.fs" /> | ||
<Compile Include="FSharpTests/General/Foldable.fs" /> | ||
<Compile Include="FSharpTests/General/Indexable.fs" /> | ||
<Compile Include="FSharpTests/General/Parsing.fs" /> | ||
<Compile Include="FSharpTests/General/Traversable.fs" /> | ||
<Compile Include="FSharpTests/General/Lensing.fs" /> | ||
<Compile Include="FSharpTests/General/Numeric.fs" /> | ||
<Compile Include="FSharpTests/General.fs" /> | ||
<Compile Include="FSharpTests/Extensions.fs" /> | ||
<Compile Include="Tests.fs" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<PackageReference Include="Fable.Core" Version="3.2.5" /> | ||
<PackageReference Include="Fable.Promise" Version="2.2.0" /> | ||
<PackageReference Include="Fable.Fetch" Version="2.2.0" /> | ||
<PackageReference Include="Fuchu" Version="1.2.0-beta-1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Fable.Core" Version="3.2.5" /> | ||
<PackageReference Include="Fable.Promise" Version="2.2.0" /> | ||
<PackageReference Include="Fable.Fetch" Version="2.2.0" /> | ||
<PackageReference Include="Fuchu" Version="1.2.0-beta-1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\FSharpPlus\FSharpPlus.fsproj"> | ||
<Private>True</Private> | ||
</ProjectReference> | ||
<PackageReference Update="FSharp.Core" Version="6.0.6" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\FSharpPlus\FSharpPlus.fsproj"> | ||
<Private>True</Private> | ||
</ProjectReference> | ||
<PackageReference Update="FSharp.Core" Version="6.0.6" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.201", | ||
"rollForward": "latestFeature" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the 8 space indent? I think 2 or 4 are common (spaces, not tabs). Probably best to have formatting changes in a separate PR and doing it across the board, though in this case, I think the default of 2 spaces was fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be when Visual Studio does changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like it was spaces but has been changed to tabs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wallymathieu VS will honor the
.editorconfig
settings. However, maybe this project does not have specific settings forfsproj
files. In which case it will use whatever default your system has.Here's a snippet for
.editorconfig
, maybe try that and re-edit & save in your editor, see what happens?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. We should have that setting in editorconfig. Looks like we have not added it yet for this repository. Perhaps something you want to make a PR for?