Merge pull request #30 from DerekMelchin/bug-1575-broken-links #106
This file contains hidden or 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] | |
| 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: Run build and tests | |
| 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/net10.0/Tests.dll && \ | |
| # BuildDataProcessing | |
| dotnet build ./DataProcessing/DataProcessing.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \ | |
| # Test CLRImports Script | |
| pip install --no-cache-dir clr-loader==0.2.9 && python ./DataProcessing/bin/Release/net10.0/CLRImports.py | |