mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +00:00
readme
Signed-off-by: Miha Kralj <miha@kraljfamily.net> workflow workflow Signed-off-by: Miha Kralj <miha@kraljfamily.net>
This commit is contained in:
@@ -31,29 +31,29 @@ jobs:
|
|||||||
- name: Install JetBrains
|
- name: Install JetBrains
|
||||||
run: dotnet tool install JetBrains.dotCover.GlobalTool --global
|
run: dotnet tool install JetBrains.dotCover.GlobalTool --global
|
||||||
- name: Install Sonar Scanner
|
- name: Install Sonar Scanner
|
||||||
run: dotnet tool install dotnet-sonarscanner --global
|
run: dotnet tool install dotnet-sonarscanner --global
|
||||||
- name: Install dotnet-coverage
|
- name: Install dotnet-coverage
|
||||||
run: dotnet tool install dotnet-coverage --global
|
run: dotnet tool install dotnet-coverage --global
|
||||||
- name: Install CodeCov
|
- name: Install CodeCov
|
||||||
run: dotnet tool install --global Codecov.Tool
|
run: dotnet tool install --global Codecov.Tool
|
||||||
|
|
||||||
- name: Sonar start
|
- name: Sonar start
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
#run: dotnet sonarscanner begin /o:"mihakralj" /k:"mihakralj_QuanTAlib" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths="./coverage.xml"
|
#run: dotnet sonarscanner begin /o:"mihakralj" /k:"mihakralj_QuanTAlib" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths="./coverage.xml"
|
||||||
run: dotnet sonarscanner begin /o:"mihakralj" /k:"mihakralj_QuanTAlib"
|
run: dotnet sonarscanner begin /o:"mihakralj" /k:"mihakralj_QuanTAlib"
|
||||||
/d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
/d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
||||||
/d:sonar.host.url="https://sonarcloud.io"
|
/d:sonar.host.url="https://sonarcloud.io"
|
||||||
/d:sonar.cs.dotcover.reportsPaths=./coveragereport.html
|
/d:sonar.cs.dotcover.reportsPaths=./coveragereport.html
|
||||||
|
|
||||||
- name: Build Core DLL
|
- name: Build Core DLL
|
||||||
run: dotnet build ./Source/QuanTAlib.csproj --verbosity normal --configuration Release --nologo
|
run: dotnet build ./Source/QuanTAlib.csproj --verbosity normal --configuration Release --nologo
|
||||||
- name: Build Quantower DLL
|
- name: Build Quantower DLL
|
||||||
run: dotnet build ./Quantower/Quantower.csproj --verbosity normal --configuration Release --nologo
|
run: dotnet build ./Quantower/Quantower.csproj --verbosity normal --configuration Release --nologo
|
||||||
|
|
||||||
- name: dotnet Test
|
- name: dotnet Test
|
||||||
run: dotnet test ./Tests/Tests.csproj --verbosity normal --configuration Release --nologo
|
run: dotnet test ./Tests/Tests.csproj --verbosity normal --configuration Release --nologo
|
||||||
- name: DotCover Test XML
|
- name: DotCover Test XML
|
||||||
run: dotnet dotcover test ./Tests/Tests.csproj --verbosity normal --framework net7.0 --dcReportType=DetailedXML --dcoutput=./coveragereport.xml
|
run: dotnet dotcover test ./Tests/Tests.csproj --verbosity normal --framework net7.0 --dcReportType=DetailedXML --dcoutput=./coveragereport.xml
|
||||||
- name: DotCover Test HTML
|
- name: DotCover Test HTML
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
# run: dotnet-coverage collect 'dotnet test' -f xml -o './coverage.xml'
|
# run: dotnet-coverage collect 'dotnet test' -f xml -o './coverage.xml'
|
||||||
|
|
||||||
- name: Sonar reporter
|
- name: Sonar reporter
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
# type: 'zip'
|
# type: 'zip'
|
||||||
# directory: \Quantower\Settings\Scripts\Indicators\QuanTAlib
|
# directory: \Quantower\Settings\Scripts\Indicators\QuanTAlib
|
||||||
# filename: QL_Quantower.zip
|
# filename: QL_Quantower.zip
|
||||||
|
#
|
||||||
# - name: Release
|
# - name: Release
|
||||||
# uses: marvinpinto/action-automatic-releases@latest
|
# uses: marvinpinto/action-automatic-releases@latest
|
||||||
# with:
|
# with:
|
||||||
@@ -91,15 +91,15 @@ jobs:
|
|||||||
# prerelease: true
|
# prerelease: true
|
||||||
# title: "Pre-release Build"
|
# title: "Pre-release Build"
|
||||||
# files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.zip
|
# files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.zip
|
||||||
|
#
|
||||||
# - name: Push package to nuget.org
|
# - name: Push package to nuget.org
|
||||||
# run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
# run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
||||||
# --api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
|
# --api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
|
||||||
# --source https://api.nuget.org/v3/index.json
|
# --source https://api.nuget.org/v3/index.json
|
||||||
# --skip-duplicate
|
# --skip-duplicate
|
||||||
|
#
|
||||||
# - name: Push package to github
|
# - name: Push package to github
|
||||||
# run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
# run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
||||||
# --api-key ${{ secrets.GITHUB_TOKEN }}
|
# --api-key ${{ secrets.GITHUB_TOKEN }}
|
||||||
# --source https://nuget.pkg.github.com/mihakralj/index.json
|
# --source https://nuget.pkg.github.com/mihakralj/index.json
|
||||||
# --skip-duplicate
|
# --skip-duplicate
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Source\QuanTAlib.csproj" />
|
<ProjectReference Include="..\Source\QuanTAlib.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user