File tree Expand file tree Collapse file tree 9 files changed +59
-23
lines changed Expand file tree Collapse file tree 9 files changed +59
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Core
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Setup .NET Core
17
+ uses : actions/setup-dotnet@v1
18
+ with :
19
+ dotnet-version : 3.1.101
20
+ - name : Install dependencies
21
+ run : dotnet restore
22
+ - name : Build
23
+ run : dotnet build -c Release
24
+ - name : Test SystemJson
25
+ run : dotnet run --no-build -p ./test/Tests.SystemJson/Tests.SystemJson.fsproj -c Release -f netcoreapp3.1
26
+ - name : Test FSharpData
27
+ run : dotnet run --no-build -p ./test/Tests.FSharpData/Tests.FSharpData.fsproj -c Release -f netcoreapp3.1
28
+ - name : Test NewtonsoftJson
29
+ run : dotnet run --no-build -p ./test/Tests.NewtonsoftJson/Tests.NewtonsoftJson.fsproj -c Release -f netcoreapp3.1
30
+ - name : Test SystemTextJson
31
+ run : dotnet run --no-build -p ./test/Tests.SystemTextJson/Tests.SystemTextJson.fsproj -c Release -f netcoreapp3.1
Original file line number Diff line number Diff line change 33
33
<FrameworkPathOverride Condition =" '$(TargetFramework)' == 'net471'" >$(MonoLibFolder)/4.7.1-api</FrameworkPathOverride >
34
34
<FrameworkPathOverride Condition =" '$(TargetFramework)' == 'net472'" >$(MonoLibFolder)/4.7.2-api</FrameworkPathOverride >
35
35
</PropertyGroup >
36
+ <ItemGroup >
37
+ <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.0" >
38
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
39
+ <PrivateAssets >all</PrivateAssets >
40
+ </PackageReference >
41
+ </ItemGroup >
36
42
</Project >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ test_script:
17
17
- cmd : dotnet run -p .\test\Tests.SystemJson\Tests.SystemJson.fsproj -c Release -f net461
18
18
- cmd : dotnet run -p .\test\Tests.FSharpData\Tests.FSharpData.fsproj -c Release -f net461
19
19
- cmd : dotnet run -p .\test\Tests.NewtonsoftJson\Tests.NewtonsoftJson.fsproj -c Release -f net461
20
- - cmd : dotnet run -p .\test\Tests.SystemTextJson\Tests.SystemTextJson.fsproj -c Release -f net461
20
+ - cmd : dotnet run -p .\test\Tests.SystemTextJson\Tests.SystemTextJson.fsproj -c Release -f netcoreapp3.1
21
21
22
22
artifacts :
23
23
# pushing all *.nupkg files in build directory recursively
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ dotnet tool restore
10
10
msbuild /t:Build /p:Configuration=Release
11
11
12
12
# Gen docs
13
- dotnet run --project ./docsrc/tool
13
+ dotnet run --project ./docsrc/tool ReleaseDocs
14
14
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >netcoreapp2.0 ;net461</TargetFrameworks >
5
+ <TargetFrameworks >netcoreapp3.1 ;net461</TargetFrameworks >
6
6
<DefineConstants >FSHARPDATA;$(DefineConstants)</DefineConstants >
7
7
</PropertyGroup >
8
8
<ItemGroup >
11
11
</ItemGroup >
12
12
<ItemGroup >
13
13
<PackageReference Update =" FSharp.Core" Version =" 4.6.2" />
14
- <PackageReference Include =" FsCheck" Version =" 0.9.4.0 " />
15
- <PackageReference Include =" Fuchu" Version =" 0.4.0 .0" />
16
- <PackageReference Include =" Fuchu.FsCheck" Version =" 0.4.0 .0" />
14
+ <PackageReference Include =" FsCheck" Version =" 2.14.2 " />
15
+ <PackageReference Include =" Fuchu" Version =" 1.1 .0" />
16
+ <PackageReference Include =" Fuchu.FsCheck" Version =" 1.1 .0" />
17
17
</ItemGroup >
18
18
<ItemGroup >
19
19
<ProjectReference Include =" ..\..\src\Fleece.FSharpData\Fleece.FSharpData.fsproj" />
20
20
</ItemGroup >
21
21
22
- </Project >
22
+ </Project >
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >netcoreapp2.0 ;net461</TargetFrameworks >
5
+ <TargetFrameworks >netcoreapp3.1 ;net461</TargetFrameworks >
6
6
<DefineConstants >NEWTONSOFT;$(DefineConstants)</DefineConstants >
7
7
<AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
8
8
</PropertyGroup >
12
12
</ItemGroup >
13
13
<ItemGroup >
14
14
<PackageReference Update =" FSharp.Core" Version =" 4.6.2" />
15
- <PackageReference Include =" FsCheck" Version =" 0.9.4.0 " />
16
- <PackageReference Include =" Fuchu" Version =" 0.4.0 .0" />
17
- <PackageReference Include =" Fuchu.FsCheck" Version =" 0.4.0 .0" />
15
+ <PackageReference Include =" FsCheck" Version =" 2.14.2 " />
16
+ <PackageReference Include =" Fuchu" Version =" 1.1 .0" />
17
+ <PackageReference Include =" Fuchu.FsCheck" Version =" 1.1 .0" />
18
18
</ItemGroup >
19
19
<ItemGroup >
20
20
<ProjectReference Include =" ..\..\src\Fleece.NewtonsoftJson\Fleece.NewtonsoftJson.fsproj" />
21
21
</ItemGroup >
22
- </Project >
22
+ </Project >
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >net461;netcoreapp2.0 </TargetFrameworks >
5
+ <TargetFrameworks >net461;netcoreapp3.1 </TargetFrameworks >
6
6
<DefineConstants >SYSTEMJSON;$(DefineConstants)</DefineConstants >
7
7
</PropertyGroup >
8
8
<ItemGroup >
11
11
</ItemGroup >
12
12
<ItemGroup >
13
13
<PackageReference Update =" FSharp.Core" Version =" 4.6.2" />
14
- <PackageReference Include =" FsCheck" Version =" 0.9.4.0 " />
15
- <PackageReference Include =" Fuchu" Version =" 0.4.0 .0" />
16
- <PackageReference Include =" Fuchu.FsCheck" Version =" 0.4.0 .0" />
14
+ <PackageReference Include =" FsCheck" Version =" 2.14.2 " />
15
+ <PackageReference Include =" Fuchu" Version =" 1.1 .0" />
16
+ <PackageReference Include =" Fuchu.FsCheck" Version =" 1.1 .0" />
17
17
</ItemGroup >
18
18
<ItemGroup >
19
19
<ProjectReference Include =" ..\..\src\Fleece.SystemJson\Fleece.SystemJson.fsproj" />
20
20
</ItemGroup >
21
- </Project >
21
+ </Project >
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >net461;netcoreapp2.0 </TargetFrameworks >
5
+ <TargetFrameworks >net461;netcoreapp3.1 </TargetFrameworks >
6
6
<DefineConstants >SYSTEMTEXTJSON;$(DefineConstants)</DefineConstants >
7
7
</PropertyGroup >
8
8
<ItemGroup >
11
11
</ItemGroup >
12
12
<ItemGroup >
13
13
<PackageReference Update =" FSharp.Core" Version =" 4.6.2" />
14
- <PackageReference Include =" FsCheck" Version =" 0.9.4.0 " />
15
- <PackageReference Include =" Fuchu" Version =" 0.4.0 .0" />
16
- <PackageReference Include =" Fuchu.FsCheck" Version =" 0.4.0 .0" />
14
+ <PackageReference Include =" FsCheck" Version =" 2.14.2 " />
15
+ <PackageReference Include =" Fuchu" Version =" 1.1 .0" />
16
+ <PackageReference Include =" Fuchu.FsCheck" Version =" 1.1 .0" />
17
17
</ItemGroup >
18
18
<ItemGroup >
19
19
<ProjectReference Include =" ..\..\src\Fleece.SystemTextJson\Fleece.SystemTextJson.fsproj" />
Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ type Assert with
171
171
172
172
173
173
open FsCheck
174
- open FsCheck.GenOperators
175
174
176
175
type ArraySegmentGenerator =
177
176
static member ArraySegment () =
@@ -432,7 +431,7 @@ let tests = [
432
431
let expectedU = " \" [{bike:[]}]\" "
433
432
let expectedV = " \" [{motorBike:[]}]\" "
434
433
let expectedW = " \" [{car:Renault}]\" "
435
- let expectedX = " \" [{van:[Fiat,5.7999999999999998 ]}]\" "
434
+ let expectedX = " \" [{van:[Fiat,5.8 ]}]\" "
436
435
let expectedY = " \" [{truck:{make:Ford,capacity:20}}]\" "
437
436
let expectedZ = " \" [{aircraft:{make:Airbus,capacity:200}}]\" "
438
437
#endif
You can’t perform that action at this time.
0 commit comments