mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update test-pipeline.yml
This commit is contained in:
15
.github/workflows/test-pipeline.yml
vendored
15
.github/workflows/test-pipeline.yml
vendored
@@ -41,8 +41,17 @@ jobs:
|
|||||||
- name: 'Run tests'
|
- name: 'Run tests'
|
||||||
run: |
|
run: |
|
||||||
cd '${{ github.workspace }}/MewtocolTests'
|
cd '${{ github.workspace }}/MewtocolTests'
|
||||||
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/
|
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults
|
||||||
|
|
||||||
|
- name: ReportGenerator
|
||||||
|
uses: danielpalme/ReportGenerator-GitHub-Action@5.1.22
|
||||||
|
with:
|
||||||
|
reports: '${{ github.workspace }}/MewtocolTests/TestResults'
|
||||||
|
targetdir: '${{ github.workspace }}/MewtocolTests/Reports'
|
||||||
|
reporttypes: Html_Dark;HtmlInline;MarkdownSummaryGithub;Badges
|
||||||
|
historydir: '${{ github.workspace }}/MewtocolTests/Hist'
|
||||||
|
title: Report
|
||||||
|
|
||||||
#Upload to codecov
|
#Upload to codecov
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
@@ -54,4 +63,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: coverage-data
|
key: coverage-data
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/MewtocolTests/TestResults
|
${{ github.workspace }}/MewtocolTests/TestResults
|
||||||
|
|||||||
Reference in New Issue
Block a user