-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,7 @@ jobs: | |
pwsh -file release.ps1 Release | ||
- name: Test | ||
shell: bash | ||
run: dotnet test Tests/CSharpCore/Tests.NetStandard.csproj --configuration Release --no-build --logger trx --collect "Code coverage" --results-directory ./TestResults | ||
- name: Test Results | ||
uses: NasAmin/[email protected] | ||
id: trx-parser | ||
with: | ||
TRX_PATH: ${{ github.workspace }}/TestResults #This should be the path to your TRX files | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: dotnet test Tests/CSharpCore/Tests.NetStandard.csproj --configuration Release --no-build /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov -- RunConfiguration.DisableAppDomain=true | ||
|
||
linux: | ||
runs-on: ubuntu-latest | ||
|
@@ -51,13 +45,7 @@ jobs: | |
pwsh -file release.ps1 Release | ||
- name: Test | ||
shell: bash | ||
run: dotnet test Tests/CSharpCore/Tests.NetStandard.csproj --configuration Release --no-build --logger trx --collect "Code coverage" --results-directory ./TestResults | ||
- name: Test Results | ||
uses: NasAmin/[email protected] | ||
id: trx-parser | ||
with: | ||
TRX_PATH: ${{ github.workspace }}/TestResults #This should be the path to your TRX files | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: dotnet test Tests/CSharpCore/Tests.NetStandard.csproj --configuration Release --no-build /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov -- RunConfiguration.DisableAppDomain=true | ||
|
||
windows: | ||
|
||
|
@@ -77,10 +65,9 @@ jobs: | |
run: build.release.bat | ||
- name: Test | ||
shell: cmd | ||
run: dotnet test Tests/CSharpCore/Tests.NetStandard.csproj --configuration Release --no-build --logger trx --collect "Code coverage" --results-directory ./TestResults | ||
- name: Test Results | ||
uses: NasAmin/[email protected] | ||
id: trx-parser | ||
run: dotnet test Tests/CSharpCore/Tests.NetStandard.csproj --configuration Release --no-build /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov -- RunConfiguration.DisableAppDomain=true | ||
- name: Publish coverage report to coveralls.io | ||
uses: coverallsapp/github-action@master | ||
with: | ||
TRX_PATH: ${{ github.workspace }}/TestResults #This should be the path to your TRX files | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ${{ github.workspace }}\Tests\CSharpCore\TestResults\coverage.net6.0.info |
This file contains 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
This file contains 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