You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.yml 707 B

12345678910111213141516171819
  1. steps:
  2. - script: dotnet restore -v minimal Discord.Net.sln
  3. displayName: Restore packages
  4. - script: dotnet build "Discord.Net.sln" --no-restore -v minimal -c $(buildConfiguration) /p:BuildNumber=$(buildNumber) /p:IsTagBuild=$(buildTag)
  5. displayName: Build projects
  6. condition: succeeded()
  7. - script: dotnet test "test/Discord.Net.Tests/Discord.Net.Tests.csproj" --no-restore --no-build -v minimal -c $(buildConfiguration) --logger trx
  8. # TODO: update this to support multiple tests
  9. displayName: Test projects
  10. condition: succeeded()
  11. - task: PublishTestResults@2
  12. displayName: Publish test results
  13. condition: succeededOrFailed()
  14. inputs:
  15. testRunner: VSTest
  16. testResultsFiles: '**/*.trx'