加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
# 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'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化