Skip to content

Commit f4b1731

Browse files
committed
chore: Azure Pipeline run UnitTest and IntegrationTest
1 parent 08f4587 commit f4b1731

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

azure-pipelines.yml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,31 @@ pool:
1212
variables:
1313
buildConfiguration: 'Release'
1414

15-
#steps:
16-
#- task: UseDotNet@2
17-
# displayName: 'Install .NET Core SDK'
18-
# inputs:
19-
# version: 5.0.x
20-
#- task: NodeTool@0
21-
# inputs:
22-
# versionSpec: '10.x'
23-
# displayName: 'Install Node.js'
24-
#- script: |
25-
# cd src/socket.io-server-v2
26-
# npm install
27-
# npm start & cd ../socket.io-server-v3
28-
# npm install
29-
# npm start & cd ../socket.io-server-v4
30-
# npm install
31-
# npm start & dotnet test ../SocketIOClient.Test
32-
3315
steps:
3416
- task: UseDotNet@2
35-
displayName: 'Install .NET Core SDK'
36-
inputs:
37-
version: 5.0.x
17+
displayName: 'Install .NET Core SDK'
18+
inputs:
19+
version: 5.0.x
20+
- task: NodeTool@0
21+
inputs:
22+
versionSpec: '10.x'
23+
displayName: 'Install Node.js'
3824
- script: |
39-
cd src
40-
dotnet test SocketIOClient.UnitTest
25+
cd src
26+
dotnet test SocketIOClient.UnitTest
27+
cd socket.io-server-v2
28+
npm install
29+
npm start & cd ../socket.io-server-v3
30+
npm install
31+
npm start & cd ../socket.io-server-v4
32+
npm install
33+
npm start & dotnet test ../SocketIOClient.Test
34+
35+
# steps:
36+
# - task: UseDotNet@2
37+
# displayName: 'Install .NET Core SDK'
38+
# inputs:
39+
# version: 5.0.x
40+
# - script: |
41+
# cd src
42+
# dotnet test SocketIOClient.UnitTest

0 commit comments

Comments
 (0)