代码拉取完成,页面将自动刷新
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
variables:
buildConfiguration: 'Release'
steps:
- task: NodeTool@0
displayName: install nodejs
inputs:
versionSpec: '16.x'
- task: CmdLine@2
inputs:
script: |
cd src/socket.io
npm install
npm run install
nohup npm start &
cd ../../
- task: UseDotNet@2
displayName: install .NET SDK
inputs:
packageType: 'sdk'
version: '6.x'
- task: DotNetCoreCLI@2
displayName: dotnet test SocketIOClient.UnitTest
inputs:
command: 'test'
projects: 'src/SocketIOClient.UnitTest/SocketIOClient.UnitTest.csproj'
- task: DotNetCoreCLI@2
displayName: dotnet test SocketIOClient.IntegrationTests
inputs:
command: 'test'
projects: 'src/SocketIOClient.IntegrationTests/SocketIOClient.IntegrationTests.csproj'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。