File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed
QuantConnect.Polygon.Tests Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 build :
9- runs-on : ubuntu-20 .04
9+ runs-on : ubuntu-24 .04
1010 steps :
1111 - name : Checkout
1212 uses : actions/checkout@v2
1313
14- - name : Free space
15- run : df -h && rm -rf /opt/hostedtoolcache* && df -h
14+ - name : Liberate disk space
15+ uses : jlumbroso/free-disk-space@main
16+ with :
17+ tool-cache : true
18+ large-packages : false
19+ docker-images : false
20+ swap-storage : false
1621
1722 - name : Checkout Lean Same Branch
1823 id : lean-same-branch
4146 shell : bash
4247 run : |
4348 # Build
44- dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Polygon.sln
49+ dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Polygon.sln && \
4550 # Run Tests
4651 dotnet test ./QuantConnect.Polygon.Tests/bin/Release/QuantConnect.Lean.DataSource.Polygon.Tests.dll
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <Configuration Condition =" '$(Configuration)' == '' " >Release</Configuration >
44 <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
5- <TargetFramework >net6 .0</TargetFramework >
5+ <TargetFramework >net9 .0</TargetFramework >
66 <IsPackable >false</IsPackable >
77 <TestProjectType >UnitTest</TestProjectType >
88 <OutputPath >bin\$(Configuration)\</OutputPath >
1515
1616 <ItemGroup >
1717 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.4" />
18- <PackageReference Include =" NUnit" Version =" 3.13.3 " />
19- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.4.2 " >
18+ <PackageReference Include =" NUnit" Version =" 4.2.2 " />
19+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.6.0 " >
2020 <PrivateAssets >all</PrivateAssets >
21- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2221 </PackageReference >
2322 <PackageReference Include =" NUnit.Analyzers" Version =" 3.6.1" />
2423 </ItemGroup >
24+ <ItemGroup >
25+ <Using Include =" NUnit.Framework.Legacy.ClassicAssert" Alias =" Assert" />
26+ </ItemGroup >
2527
2628 <ItemGroup >
2729 <ProjectReference Include =" ..\QuantConnect.Polygon\QuantConnect.DataSource.Polygon.csproj" />
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <Configuration Condition =" '$(Configuration)' == '' " >Release</Configuration >
44 <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
5- <TargetFramework >net6 .0</TargetFramework >
5+ <TargetFramework >net9 .0</TargetFramework >
66 <Product >QuantConnect.Lean.DataSource.Polygon</Product >
77 <AssemblyName >QuantConnect.Lean.DataSource.Polygon</AssemblyName >
88 <RootNamespace >QuantConnect.Lean.DataSource.Polygon</RootNamespace >
You can’t perform that action at this time.
0 commit comments