Skip to content

Commit f7feb8f

Browse files
turn test back on
1 parent a624761 commit f7feb8f

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.circleci/config.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2.1
1+
version: 2.1
22
jobs:
33
develop_deploy:
44
docker:
@@ -11,25 +11,25 @@ jobs:
1111
POSTGRES_DB: analytics-api-test
1212
steps:
1313
- checkout
14-
14+
1515
- restore_cache:
1616
keys:
1717
- v1-dependencies-{{ checksum "package.json" }}
1818
- v1-dependencies-
19-
19+
2020
- run:
2121
name: install dependencies
2222
command: npm install
23-
23+
2424
- save_cache:
2525
paths:
2626
- ./node_modules
2727
key: v1-dependencies-{{ checksum "package.json" }}
28-
29-
# - run:
30-
# name: run tests
31-
# command: npm test
32-
28+
29+
- run:
30+
name: run tests
31+
command: npm test
32+
3333
- run:
3434
name: Replace Data URL in manifest.yml file when deploying to develop
3535
command: |
@@ -51,14 +51,14 @@ jobs:
5151
rm ./src/config.js
5252
mv ./src/config.js.cloudgov ./src/config.js
5353
rm knexfile.js
54-
mv knexfile.js.cloudgov knexfile.js
54+
mv knexfile.js.cloudgov knexfile.js
5555
56-
- run:
56+
- run:
5757
name: Install CF CLI
5858
command: |
5959
sudo curl -v -L -o cf8-cli-installer_8.7.4_x86-64.deb 'https://packages.cloudfoundry.org/stable?release=debian64&version=8.7.4'
6060
sudo dpkg -i cf8-cli-installer_8.7.4_x86-64.deb
61-
61+
6262
- run:
6363
name: deploy
6464
command: |
@@ -83,25 +83,25 @@ jobs:
8383
POSTGRES_DB: analytics-api-test
8484
steps:
8585
- checkout
86-
86+
8787
- restore_cache:
8888
keys:
8989
- v1-dependencies-{{ checksum "package.json" }}
9090
- v1-dependencies-
91-
91+
9292
- run:
9393
name: install dependencies
9494
command: npm install
95-
95+
9696
- save_cache:
9797
paths:
9898
- ./node_modules
9999
key: v1-dependencies-{{ checksum "package.json" }}
100-
100+
101101
- run:
102102
name: run tests
103103
command: npm test
104-
104+
105105
- run:
106106
name: Replace Data URL in manifest.yml file when deploying to staging
107107
command: |
@@ -125,12 +125,12 @@ jobs:
125125
rm ./src/config.js
126126
mv ./src/config.js.cloudgov ./src/config.js
127127
128-
- run:
128+
- run:
129129
name: Install CF CLI
130130
command: |
131131
sudo curl -v -L -o cf8-cli-installer_8.7.4_x86-64.deb 'https://packages.cloudfoundry.org/stable?release=debian64&version=8.7.4'
132132
sudo dpkg -i cf8-cli-installer_8.7.4_x86-64.deb
133-
133+
134134
- run:
135135
name: deploy
136136
command: |
@@ -155,25 +155,25 @@ jobs:
155155
POSTGRES_DB: analytics-api-test
156156
steps:
157157
- checkout
158-
158+
159159
- restore_cache:
160160
keys:
161161
- v1-dependencies-{{ checksum "package.json" }}
162162
- v1-dependencies-
163-
163+
164164
- run:
165165
name: install dependencies
166166
command: npm install
167-
167+
168168
- save_cache:
169169
paths:
170170
- ./node_modules
171171
key: v1-dependencies-{{ checksum "package.json" }}
172-
172+
173173
- run:
174174
name: run tests
175175
command: npm test
176-
176+
177177
- run:
178178
name: Replace Data URL in manifest.yml file when deploying to production
179179
command: |
@@ -197,12 +197,12 @@ jobs:
197197
rm ./src/config.js
198198
mv ./src/config.js.cloudgov ./src/config.js
199199
200-
- run:
200+
- run:
201201
name: Install CF CLI
202202
command: |
203203
sudo curl -v -L -o cf8-cli-installer_8.7.4_x86-64.deb 'https://packages.cloudfoundry.org/stable?release=debian64&version=8.7.4'
204204
sudo dpkg -i cf8-cli-installer_8.7.4_x86-64.deb
205-
205+
206206
- run:
207207
name: deploy
208208
command: |
@@ -218,23 +218,23 @@ jobs:
218218
219219
workflows:
220220
develop_workflow:
221-
jobs:
221+
jobs:
222222
- develop_deploy:
223223
filters:
224224
branches:
225225
only:
226226
- develop
227227

228228
staging:
229-
jobs:
229+
jobs:
230230
- staging_deploy:
231231
filters:
232232
branches:
233233
only:
234234
- stage
235235

236236
main_workflow:
237-
jobs:
237+
jobs:
238238
- main_deploy:
239239
filters:
240240
branches:

0 commit comments

Comments
 (0)