Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. error : One or more errors occurred.
  2. (Could not find file '/tmp/xunit.runner.visualstudio.dotnetcore.testadapter
  3.  
  4. FROM mcr.microsoft.com/dotnet/core/sdk:2.2
  5. WORKDIR /app
  6. COPY . /app
  7. CMD [ "bash", "./build.sh" ]
  8.  
  9. #!bin/bash
  10.  
  11. export PATH="$PATH:/root/.dotnet/tools"
  12.  
  13. echo "Installing Tools"
  14. dotnet tool install --global coverlet.console
  15.  
  16. echo "Adding Package"
  17. dotnet add <.csproj> package coverlet.msbuild
  18.  
  19. echo "Running Tests"
  20. dotnet test <.csproj> /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput='./coverage/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement