mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
update to csproj
This commit is contained in:
@@ -94,32 +94,39 @@ jobs:
|
|||||||
run: dotnet build ./Strategies/Strategies.csproj --configuration Release --nologo
|
run: dotnet build ./Strategies/Strategies.csproj --configuration Release --nologo
|
||||||
|
|
||||||
- name: DotCover Test HTML
|
- name: DotCover Test HTML
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
run: dotnet dotcover test Tests/Tests.csproj --dcReportType=HTML --dcoutput=./dotcover.html
|
run: dotnet dotcover test Tests/Tests.csproj --dcReportType=HTML --dcoutput=./dotcover.html
|
||||||
- name: DotCover Test XML
|
- name: DotCover Test XML
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
run: dotnet dotcover test Tests/Tests.csproj --dcReportType=DetailedXML --dcoutput=./dotcover.xml --verbosity=Detailed
|
run: dotnet dotcover test Tests/Tests.csproj --dcReportType=DetailedXML --dcoutput=./dotcover.xml --verbosity=Detailed
|
||||||
- name: Coverlet Test
|
- name: Coverlet Test
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
run: dotnet test -p:CollectCoverage=true --collect:"XPlat Code Coverage" --results-directory "./"
|
run: dotnet test -p:CollectCoverage=true --collect:"XPlat Code Coverage" --results-directory "./"
|
||||||
|
|
||||||
############## Report to Sonar/CodeCov/Codacy
|
############## Report to Sonar/CodeCov/Codacy
|
||||||
|
|
||||||
- name: Move coverage report to project root
|
- name: Move coverage report to project root
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
run: |
|
run: |
|
||||||
report=$(find . -name '*coverage.cobertura.xml' | head -1)
|
report=$(find . -name '*coverage.cobertura.xml' | head -1)
|
||||||
mv "$report" ./coverage.cobertura.xml
|
mv "$report" ./coverage.cobertura.xml
|
||||||
|
|
||||||
- name: Upload to Codacy
|
- name: Upload to Codacy
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
uses: codacy/codacy-coverage-reporter-action@v1
|
uses: codacy/codacy-coverage-reporter-action@v1
|
||||||
with:
|
with:
|
||||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||||
coverage-reports: "*cover*.xml"
|
coverage-reports: "*cover*.xml"
|
||||||
|
|
||||||
- name: Upload to Codecov
|
- name: Upload to Codecov
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
files: cover*
|
files: cover*
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
- name: Upload to Sonar
|
- name: Upload to Sonar
|
||||||
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||||
<Authors>Miha Kralj</Authors>
|
<Authors>Miha Kralj</Authors>
|
||||||
<Copyright>Miha Kralj</Copyright>
|
<Copyright>Miha Kralj</Copyright>
|
||||||
|
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
||||||
<PackageReadmeFile>readme.md</PackageReadmeFile>
|
<PackageReadmeFile>readme.md</PackageReadmeFile>
|
||||||
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
|
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
|
||||||
<ImplicitUsings>disable</ImplicitUsings>
|
<ImplicitUsings>disable</ImplicitUsings>
|
||||||
@@ -32,14 +33,13 @@
|
|||||||
AlgoTrading;Financial;Strategy;Chart;Charting;Oscillator;Overlay;Equity;Bitcoin;Crypto;Cryptocurrency;Forex;
|
AlgoTrading;Financial;Strategy;Chart;Charting;Oscillator;Overlay;Equity;Bitcoin;Crypto;Cryptocurrency;Forex;
|
||||||
Quantitative;Historical;Quotes;
|
Quantitative;Historical;Quotes;
|
||||||
</PackageTags>
|
</PackageTags>
|
||||||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
|
||||||
<PackageLicenseFile>
|
<PackageLicenseFile>
|
||||||
</PackageLicenseFile>
|
</PackageLicenseFile>
|
||||||
<SuppressNETSdkWarningProperty>NETSDK1057</SuppressNETSdkWarningProperty>
|
|
||||||
<SuppressNETSdkWarningProperty>IDE1006</SuppressNETSdkWarningProperty>
|
|
||||||
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
|
||||||
<NoWarn>$(NoWarn);NETSDK1057</NoWarn>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>True</Optimize>
|
<Optimize>True</Optimize>
|
||||||
|
|||||||
Reference in New Issue
Block a user