diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae5c948..c22ed11 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,11 +8,18 @@ on:
jobs:
build:
- runs-on: ubuntu-20.04
- container:
- image: quantconnect/lean:foundation
+ runs-on: ubuntu-24.04
steps:
- - uses: actions/checkout@v2
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Liberate disk space
+ uses: jlumbroso/free-disk-space@main
+ with:
+ tool-cache: true
+ large-packages: false
+ docker-images: false
+ swap-storage: false
- name: Checkout Lean Same Branch
id: lean-same-branch
@@ -33,11 +40,15 @@ jobs:
- name: Move Lean
run: mv Lean ../Lean
- - name: BuildDataSource
- run: dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: BuildTests
- run: dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: Run Tests
- run: dotnet test ./tests/bin/Release/net6.0/Tests.dll
+ - uses: addnab/docker-run-action@v3
+ with:
+ image: quantconnect/lean:foundation
+ options: --workdir /__w/Lean.DataSource.Tiingo/Lean.DataSource.Tiingo -v /home/runner/work:/__w
+ shell: bash
+ run: |
+ # BuildDataSource
+ dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
+ # BuildTests
+ dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
+ # Run Tests
+ dotnet test ./tests/bin/Release/net9.0/Tests.dll
diff --git a/DataProcessing/DataProcessing.csproj b/DataProcessing/DataProcessing.csproj
index 505d107..d9f9e59 100644
--- a/DataProcessing/DataProcessing.csproj
+++ b/DataProcessing/DataProcessing.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net9.0
process
false
diff --git a/DataQueueHandlers/DataQueueHandlers.csproj b/DataQueueHandlers/DataQueueHandlers.csproj
index b947cf6..e29802c 100644
--- a/DataQueueHandlers/DataQueueHandlers.csproj
+++ b/DataQueueHandlers/DataQueueHandlers.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net9.0
QuantConnect.DataSource.DataQueueHandlers
QuantConnect.DataSource.DataQueueHandlers.TiingoNews
false
diff --git a/QuantConnect.DataSource.csproj b/QuantConnect.DataSource.csproj
index d798d1c..a9e445b 100644
--- a/QuantConnect.DataSource.csproj
+++ b/QuantConnect.DataSource.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net9.0
QuantConnect.DataSource
QuantConnect.DataSource.TiingoNews
bin\$(Configuration)
diff --git a/tests/Tests.csproj b/tests/Tests.csproj
index 77431a1..390e33e 100644
--- a/tests/Tests.csproj
+++ b/tests/Tests.csproj
@@ -1,6 +1,6 @@
- net6.0
+ net9.0
QuantConnect.DataLibrary.Tests
false
@@ -13,14 +13,17 @@
-
-
+
+
all
+
+
+
diff --git a/tests/TiingoNewsJsonConverterTests.cs b/tests/TiingoNewsJsonConverterTests.cs
index b4a2b4d..815ef11 100644
--- a/tests/TiingoNewsJsonConverterTests.cs
+++ b/tests/TiingoNewsJsonConverterTests.cs
@@ -20,12 +20,21 @@
using NUnit.Framework;
using QuantConnect.DataSource;
using QuantConnect.DataProcessing;
+using QuantConnect.Data.Auxiliary;
+using QuantConnect.Interfaces;
+using QuantConnect.Util;
namespace QuantConnect.Tests.Common.Data.Custom
{
[TestFixture]
public class TiingoNewsJsonConverterTests
{
+ [OneTimeSetUp]
+ public void Setup()
+ {
+ Composer.Instance.GetExportedValueByTypeName(Configuration.Config.Get("map-file-provider", typeof(LocalDiskMapFileProvider).Name));
+ }
+
private static Symbol SymbolAAPL = Symbol.Create("AAPL", SecurityType.Equity, Market.USA);
private static Symbol SymbolSPY = Symbol.Create("SPY", SecurityType.Equity, Market.USA);
diff --git a/tests/TiingoNewsTests.cs b/tests/TiingoNewsTests.cs
index bbf3646..813865f 100644
--- a/tests/TiingoNewsTests.cs
+++ b/tests/TiingoNewsTests.cs
@@ -24,12 +24,21 @@
using NUnit.Framework;
using QuantConnect.Data;
using QuantConnect.DataSource;
+using QuantConnect.Data.Auxiliary;
+using QuantConnect.Interfaces;
+using QuantConnect.Util;
namespace QuantConnect.DataLibrary.Tests
{
[TestFixture]
public class TiingoNewsTests
{
+ [OneTimeSetUp]
+ public void Setup()
+ {
+ Composer.Instance.GetExportedValueByTypeName(Configuration.Config.Get("map-file-provider", typeof(LocalDiskMapFileProvider).Name));
+ }
+
[Test]
public void JsonRoundTrip()
{