Skip to content

Commit a820e15

Browse files
committed
wip: test
License: MIT Signed-off-by: Marcin Rataj <[email protected]>
1 parent 28a9a65 commit a820e15

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.circleci/config.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ executors:
5050
environment:
5151
<<: *default_environment
5252
NO_SANDBOX: true
53+
IPFS_REUSEPORT: false
54+
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1
55+
E2E_IPFSD_TYPE: go
5356

5457
jobs:
5558
gobuild:
@@ -195,7 +198,7 @@ jobs:
195198
working_directory: ~/ipfs/go-ipfs/interop
196199
environment:
197200
IPFS_REUSEPORT: false
198-
LIBP2P_ALLOW_WEAK_RSA_KEYS: true
201+
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1
199202
IPFS_GO_EXEC: /tmp/circleci-workspace/bin/ipfs
200203
- store_test_results:
201204
path: /tmp/test-results
@@ -284,14 +287,15 @@ jobs:
284287
npm install
285288
working_directory: ~/ipfs/go-ipfs/ipfs-webui
286289
- run:
287-
name: Running tests
290+
name: Running upstream tests (finish early if they fail)
288291
command: |
289-
npm test
292+
npm test || circleci-agent step halt
293+
working_directory: ~/ipfs/go-ipfs/ipfs-webui
294+
- run:
295+
name: Running tests with go-ipfs built from current commit
296+
command: npm test
290297
working_directory: ~/ipfs/go-ipfs/ipfs-webui
291298
environment:
292-
IPFS_REUSEPORT: false
293-
LIBP2P_ALLOW_WEAK_RSA_KEYS: true
294-
E2E_IPFSD_TYPE: go
295299
IPFS_GO_EXEC: /tmp/circleci-workspace/bin/ipfs
296300
- save_cache:
297301
key: v1-ipfs-webui-{{ checksum "~/ipfs/go-ipfs/ipfs-webui/package-lock.json" }}

0 commit comments

Comments
 (0)