Verified Commit 25c9ba2f authored by Mark Malone's avatar Mark Malone
Browse files

fixing docker file

parent e914c55a
image: mcr.microsoft.com/dotnet/sdk:5.0
before_script:
- 'echo | dotnet --version'
- dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools
stages:
- test
build:
stage: test
script:
- dotnet test --collect:"XPlat Code Coverage"
- ls -ld */TestResults/*
- ls -ld ${CI_PROJECT_DIR}/*/TestResults/*/*
# each reporttype must be a separate line, doesn't work together ; separated
- ./tools/reportgenerator "-reports:${CI_PROJECT_DIR}/*/TestResults/*/coverage.cobertura.xml" "-targetdir:Reports_Coverage" -reportTypes:TextSummary;
- ./tools/reportgenerator "-reports:${CI_PROJECT_DIR}/*/TestResults/*/coverage.cobertura.xml" "-targetdir:Reports_Coverage" -reportTypes:Html;
- ls Reports_Coverage
- cat ./Reports_Coverage/Summary.txt
- echo 'End Summary'
coverage: /Summary\n[\s\S]*/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment