Skip to content

Fix random TriggersWeeklyScheduledEventsEachWeekLive failures (#9555) #11545

Fix random TriggersWeeklyScheduledEventsEachWeekLive failures (#9555)

Fix random TriggersWeeklyScheduledEventsEachWeekLive failures (#9555) #11545

name: Research Regression Tests
on:
push:
branches: ['*']
tags: ['*']
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: self-hosted
container:
image: quantconnect/lean:foundation
options: --cpus 12 --memory 12g
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies and Setup Kernel
run: |
# Install dependencies
pip3 install papermill==2.4.0 clr-loader==0.2.9
# Install kernel
dotnet tool install -g --no-cache --version 1.0.661703 \
--add-source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json' \
Microsoft.dotnet-interactive
# Add dotnet tools to Path and activate kernel
export PATH="$HOME/.dotnet/tools:$PATH"
dotnet interactive jupyter install
- name: Build and Run Research Tests
run: |
# Build
export PATH="$HOME/.dotnet/tools:$PATH"
dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln
# Run Tests
dotnet test ./Tests/bin/Release/QuantConnect.Tests.dll \
--filter TestCategory=ResearchRegressionTests \
-- "TestRunParameters.Parameter(name=\"log-handler\", value=\"ConsoleErrorLogHandler\")" \
"TestRunParameters.Parameter(name=\"reduced-disk-size\", value=\"true\")"