File tree Expand file tree Collapse file tree 3 files changed +28
-14
lines changed
QuantConnect.Wolverine.Tests Expand file tree Collapse file tree 3 files changed +28
-14
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 build :
9- runs-on : ubuntu-20.04
10- container :
11- image : quantconnect/lean:foundation
9+ runs-on : ubuntu-24.04
1210 steps :
13- - uses : actions/checkout@v2
11+ - name : Checkout
12+ uses : actions/checkout@v2
13+
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
1421
1522 - name : Checkout Lean Same Branch
1623 id : lean-same-branch
3138 - name : Move Lean
3239 run : mv Lean ../Lean
3340
34- - name : Build
35- run : dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Wolverine.sln
36-
37- - name : Run Tests
38- run : dotnet test ./QuantConnect.Wolverine.Tests/bin/Release/QuantConnect.Brokerages.Wolverine.Tests.dll
41+ - uses : addnab/docker-run-action@v3
42+ with :
43+ image : quantconnect/lean:foundation
44+ options : --workdir /__w/Lean.Brokerages.Wolverine/Lean.Brokerages.Wolverine -v /home/runner/work:/__w -e QC_JOB_USER_ID=${{ secrets.JOB_USER_ID }} -e QC_API_ACCESS_TOKEN=${{ secrets.API_ACCESS_TOKEN }} -e QC_JOB_ORGANIZATION_ID=${{ secrets.JOB_ORGANIZATION_ID }}
45+ shell : bash
46+ run : |
47+ # Build
48+ dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Wolverine.sln && \
49+ # Run Tests
50+ dotnet test ./QuantConnect.Wolverine.Tests/bin/Release/QuantConnect.Brokerages.Wolverine.Tests.dll
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Configuration Condition =" '$(Configuration)' == '' " >Release</Configuration >
55 <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6- <TargetFramework >net6 .0</TargetFramework >
6+ <TargetFramework >net9 .0</TargetFramework >
77 <ImplicitUsings >enable</ImplicitUsings >
88 <Nullable >enable</Nullable >
99
2121 <ItemGroup >
2222 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.2" />
2323 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.1.0" />
24- <PackageReference Include =" NUnit" Version =" 3.13.3 " />
25- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.2.1 " >
24+ <PackageReference Include =" NUnit" Version =" 4.2.2 " />
25+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.6.0 " >
2626 <PrivateAssets >all</PrivateAssets >
27- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2827 </PackageReference >
2928 <PackageReference Include =" NUnit.Analyzers" Version =" 3.3.0" />
3029 <PackageReference Include =" coverlet.collector" Version =" 3.1.2" />
3130 </ItemGroup >
3231
32+ <ItemGroup >
33+ <Using Include =" NUnit.Framework.Legacy.ClassicAssert" Alias =" Assert" />
34+ </ItemGroup >
3335 <ItemGroup >
3436 <ProjectReference Include =" ..\..\Lean\Tests\QuantConnect.Tests.csproj" />
3537 <ProjectReference Include =" ..\QuantConnect.Wolverine\QuantConnect.Wolverine.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 <ImplicitUsings >enable</ImplicitUsings >
77 <Nullable >enable</Nullable >
88 <Product >QuantConnect.Brokerages.Wolverine</Product >
You can’t perform that action at this time.
0 commit comments