Dotnet 9 #86
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test | |
on: | |
push: | |
branches: ['*'] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- 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 | |
uses: actions/checkout@v2 | |
continue-on-error: true | |
with: | |
ref: ${{ github.ref }} | |
repository: QuantConnect/Lean | |
path: Lean | |
- name: Checkout Lean Master | |
if: steps.lean-same-branch.outcome != 'success' | |
uses: actions/checkout@v2 | |
with: | |
repository: QuantConnect/Lean | |
path: Lean | |
- name: Move Lean | |
run: mv Lean ../Lean | |
- name: Build and Run | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: quantconnect/lean:foundation | |
options: --workdir /__w/Lean.Brokerages.Samco/Lean.Brokerages.Samco -v /home/runner/work:/__w | |
shell: bash | |
run: | | |
# Build | |
dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.SamcoBrokerage.sln | |
# Run Tests | |
dotnet test ./QuantConnect.SamcoBrokerage.Tests/bin/Release/QuantConnect.SamcoBrokerage.Tests.dll |