File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed
Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ version: 2
22jobs :
33 test :
44 docker :
5- - image : circleci/node:8.9.4
5+ - image : circleci/node:8.9.4-browsers
66 steps :
7+ - run :
8+ name : checking out qa framework repo
9+ command : git clone --branch develop https://$GITUSER:$GITPASSWD@github.com/appirio-tech/qa-framework-js.git ../qa-framework
710 - checkout
811 - restore_cache :
912 key : test-node-modules-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }}
1821 - persist_to_workspace :
1922 root : .
2023 paths :
21- - dist
22-
24+ - dist
25+ - run :
26+ name : starting server locally
27+ command : npm run start
28+ background : true
29+ - run : sleep 90
30+ - run :
31+ name : Running qa frame work
32+ command : |
33+ cd $HOME/qa-framework
34+ sudo chmod 777 /usr/local/lib/node_modules
35+ sudo chmod 777 /usr/local/bin
36+ echo 127.0.0.1 local.topcoder-dev.com | sudo tee -a /etc/hosts
37+ echo 127.0.0.1 local.topcoder.com | sudo tee -a /etc/hosts
38+ cat /etc/hosts
39+ mv -f test/config/ci-config.js test/config/config.js
40+ npm install
41+ npm test
42+ pwd
43+ - store_artifacts :
44+ path : /home/circleci/qa-framework/allure-report
45+
2346 # Just tests commited code.
2447 deployDev :
2548 docker :
5679 - attach_workspace :
5780 at : ./workspace
5881 - run : ./deploy.sh DISCOURSE
82+
5983
6084workflows :
6185 version : 2
You can’t perform that action at this time.
0 commit comments