Skip to content

Commit 0fe91e9

Browse files
committed
ci(KP-448): run npm test on agent host instead of docker from pr-pipeline
1 parent bdbc831 commit 0fe91e9

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.azure/azure-pipelines.pr.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,19 @@ extends:
2626
parameters:
2727
break: false
2828
jobs:
29-
- job: test
30-
displayName: 'Test'
31-
steps:
32-
- template: /templates/test/docker.yml@stratus-templates
33-
parameters:
34-
dockerComposeFilePaths:
35-
- '$(Pipeline.Workspace)/github/docker-compose-unit-tests.yml'
36-
- '$(Pipeline.Workspace)/github/docker-compose-integration-tests.yml'
37-
dockerfilePath: $(dockerfilePath)
38-
imageName: $(imageName)
39-
tag: $(tag)
29+
- job: unit_test
30+
displayName: Unit tests
31+
steps:
32+
- template: /templates/test/npm.yml@stratus-templates
33+
parameters:
34+
nodeVersion: 20
35+
- job: integration_test
36+
displayName: 'Integration Test'
37+
steps:
38+
- template: /templates/test/docker.yml@stratus-templates
39+
parameters:
40+
dockerComposeFilePaths:
41+
- '$(Pipeline.Workspace)/github/docker-compose-integration-tests.yml'
42+
dockerfilePath: $(dockerfilePath)
43+
imageName: $(imageName)
44+
tag: $(tag)

0 commit comments

Comments
 (0)