88
99jobs :
1010 build :
11- runs-on : ubuntu-20.04
12- env :
13- QC_JOB_USER_ID : ${{ secrets.QC_JOB_USER_ID }}
14- QC_API_ACCESS_TOKEN : ${{ secrets.QC_API_ACCESS_TOKEN }}
15- QC_JOB_ORGANIZATION_ID : ${{ secrets.QC_JOB_ORGANIZATION_ID }}
16- QC_ALPHA_VANTAGE_API_KEY : ${{ secrets.QC_ALPHA_VANTAGE_API_KEY }}
11+ runs-on : ubuntu-24.04
1712 steps :
1813 - name : Checkout
1914 uses : actions/checkout@v2
2015
21- - name : Free space
22- run : df -h && rm -rf /opt/hostedtoolcache* && df -h
16+ - name : Liberate disk space
17+ uses : jlumbroso/free-disk-space@main
18+ with :
19+ tool-cache : true
20+ large-packages : false
21+ docker-images : false
22+ swap-storage : false
2323
2424 - name : Checkout Lean Same Branch
2525 id : lean-same-branch
@@ -45,12 +45,11 @@ jobs:
4545 with :
4646 image : quantconnect/lean:foundation
4747 options : -v /home/runner/work:/__w --workdir /__w/Lean.DataSource.AlphaVantage/Lean.DataSource.AlphaVantage -e QC_JOB_USER_ID=${{ secrets.QC_JOB_USER_ID }} -e QC_API_ACCESS_TOKEN=${{ secrets.QC_API_ACCESS_TOKEN }} -e QC_JOB_ORGANIZATION_ID=${{ secrets.QC_JOB_ORGANIZATION_ID }} -e QC_ALPHA_VANTAGE_API_KEY=${{ secrets.QC_ALPHA_VANTAGE_API_KEY }}
48-
49- - name : Build QuantConnect.DataSource.AlphaVantage
50- run : dotnet build ./QuantConnect.AlphaVantage/QuantConnect.DataSource.AlphaVantage.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
51-
52- - name : Build QuantConnect.DataSource.AlphaVantage.Tests
53- run : dotnet build ./QuantConnect.AlphaVantage.Tests/QuantConnect.DataSource.AlphaVantage.Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
54-
55- - name : Run QuantConnect.DataSource.AlphaVantage.Tests
56- run : dotnet test ./QuantConnect.AlphaVantage.Tests/bin/Release/QuantConnect.Lean.DataSource.AlphaVantage.Tests.dll
48+ shell : bash
49+ run : |
50+ # Build QuantConnect.DataSource.AlphaVantage
51+ dotnet build ./QuantConnect.AlphaVantage/QuantConnect.DataSource.AlphaVantage.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
52+ # Build QuantConnect.DataSource.AlphaVantage.Tests
53+ dotnet build ./QuantConnect.AlphaVantage.Tests/QuantConnect.DataSource.AlphaVantage.Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
54+ # Run QuantConnect.DataSource.AlphaVantage.Tests
55+ dotnet test ./QuantConnect.AlphaVantage.Tests/bin/Release/QuantConnect.Lean.DataSource.AlphaVantage.Tests.dll
0 commit comments