mirror of
https://github.com/irongut/CodeCoverageSummary.git
synced 2026-05-20 00:40:14 +02:00
updated workflow
This commit is contained in:
@@ -16,14 +16,18 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 5.0.x
|
dotnet-version: 5.0.x
|
||||||
|
|
||||||
- name: Restore Dependencies
|
- name: Restore Dependencies
|
||||||
run: dotnet restore src/CodeCoverageSummary.sln
|
run: dotnet restore src/CodeCoverageSummary.sln
|
||||||
|
|
||||||
- name: Build CodeCoverageSummary
|
- name: Build CodeCoverageSummary
|
||||||
run: dotnet build src/CodeCoverageSummary.sln --configuration Release --no-restore
|
run: dotnet build src/CodeCoverageSummary.sln --configuration Release --no-restore
|
||||||
|
|
||||||
- name: Run CodeCoverageSummary with sample file
|
- name: Run CodeCoverageSummary with sample file
|
||||||
run: dotnet src/CodeCoverageSummary/bin/Release/net5.0/CodeCoverageSummary.dll src/coverage.cobertura.xml
|
run: dotnet src/CodeCoverageSummary/bin/Release/net5.0/CodeCoverageSummary.dll src/coverage.cobertura.xml --badge true
|
||||||
|
|
||||||
- name: Test Action
|
- name: Test Action
|
||||||
uses: irongut/CodeCoverageSummary@master
|
uses: irongut/CodeCoverageSummary@master
|
||||||
with:
|
with:
|
||||||
filename: 'src/coverage.cobertura.xml'
|
filename: 'app/coverage.cobertura.xml'
|
||||||
badge: 'true'
|
badge: 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user