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 657 B

1234567891011121314151617
  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. - script: dotnet test "test/Discord.Net.Tests/Discord.Net.Tests.csproj" --no-restore --no-build -v minimal -c $(buildConfiguration) --logger trx
  7. # TODO: update this to support multiple tests
  8. displayName: Test projects
  9. - task: PublishTestResults@2
  10. displayName: Publish test results
  11. condition: succeededOrFailed()
  12. inputs:
  13. testRunner: VSTest
  14. testResultsFiles: '**/*.trx'