Merge branch 'dev'

This commit is contained in:
Miha Kralj
2024-09-30 09:07:08 -07:00
95 changed files with 7982 additions and 2375 deletions
+11 -15
View File
@@ -71,18 +71,14 @@ jobs:
############# Build and test
- name: Build Main branch of QuanTAlib DLL
if: ${{ github.ref != 'refs/heads/dev' }}
run: dotnet build ./lib/quantalib.csproj --configuration Release --nologo -p:PackageVersion=${{ steps.gitversion.outputs.MajorMinorPatch }}
- name: Build dev branch of QuanTAlib DLL
if: ${{ github.ref == 'refs/heads/dev' }}
run: dotnet build ./lib/quantalib.csproj --configuration Release --nologo -p:PackageVersion=${{ steps.gitversion.outputs.FullSemVer }}
- name: Build Averages DLL
run: dotnet build ./quantower/Averages/Averages.csproj --configuration Release --nologo
- name: Build Statistics DLL
run: dotnet build ./quantower/Statistics/Statistics.csproj --configuration Release --nologo
- name: Build SyntheticVendor DLL
run: dotnet build ./SyntheticVendor/SyntheticVendor.csproj --configuration Release --nologo
- name: Build projects
run: |
dotnet build ./lib/quantalib.csproj --configuration Release --nologo \
-p:PackageVersion=${{ github.ref == 'refs/heads/dev' && steps.gitversion.outputs.FullSemVer || steps.gitversion.outputs.MajorMinorPatch }}
dotnet build ./quantower/Averages/Averages.csproj --configuration Release --nologo
dotnet build ./quantower/Statistics/Statistics.csproj --configuration Release --nologo
dotnet build ./quantower/Volatility/Volatility.csproj --configuration Release --nologo
dotnet build ./SyntheticVendor/SyntheticVendor.csproj --configuration Release --nologo
- name: DotCover Test HTML
if: ${{ github.ref == 'refs/heads/dev' }}
@@ -99,8 +95,8 @@ jobs:
- name: Move coverage report to project root
if: ${{ github.ref == 'refs/heads/dev' }}
run: |
report=$(find . -name '*coverage.cobertura.xml' | head -1)
mv "$report" ./coverage.cobertura.xml
dotnet test ./Tests/Tests.csproj --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="./TestResults/"
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"
- name: Upload to Codacy
if: ${{ github.ref == 'refs/heads/dev' }}
@@ -121,7 +117,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
############## Publish dev release