File tree Expand file tree Collapse file tree 2 files changed +34
-34
lines changed Expand file tree Collapse file tree 2 files changed +34
-34
lines changed Original file line number Diff line number Diff line change 59
59
APPNAME : " resources-api"
60
60
steps : *builddeploy_steps
61
61
62
+ " Run-Newman-Test " :
63
+ docker :
64
+ - image : circleci/node:12
65
+ - image : tray/dynamodb-local
66
+ command : " -inMemory -port 7777"
67
+ - image : elasticsearch:6.8.13
68
+ environment :
69
+ discovery.type : " single-node"
70
+ steps :
71
+ - checkout
72
+ - setup_remote_docker
73
+ - run :
74
+ name : ' newman test'
75
+ command : |
76
+ npm i
77
+ cd local
78
+ cd ..
79
+ npm run create-tables:test
80
+ cd mock
81
+ (npm run mock-challenge-api&)
82
+ (NODE_ENV=test npm start&)
83
+ npm run test:newman
84
+
62
85
workflows :
63
86
version : 2
64
87
build :
@@ -78,3 +101,14 @@ workflows:
78
101
filters :
79
102
branches :
80
103
only : master
104
+
105
+ - " Run-Newman-Test " :
106
+ context : org-global
107
+ requires :
108
+ - build-dev
109
+ - build-prod
110
+ filters :
111
+ branches :
112
+ only :
113
+ - automated-postman-testing
114
+ - develop
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments