mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-04 12:07:44 +00:00
sln file
This commit is contained in:
@@ -70,12 +70,13 @@ jobs:
|
||||
-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: Run tests with coverage
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
run: |
|
||||
dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="./TestResults/"
|
||||
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: Generate and process coverage report
|
||||
@@ -105,7 +106,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 }}"
|
||||
|
||||
- name: Publish release assets
|
||||
uses: SourceSprint/upload-multiple-releases@1.0.7
|
||||
|
||||
Reference in New Issue
Block a user