Skip to content

Commit 2f3b2db

Browse files
committed
ci: run BCDB node in background
1 parent 334a3f4 commit 2f3b2db

File tree

2 files changed

+7
-69
lines changed

2 files changed

+7
-69
lines changed

.github/workflows/ci.yaml

-65
This file was deleted.

.github/workflows/ci.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
restore-keys: |
4646
${{ runner.os }}-node-
4747
48+
- name: Run BigChainDB node
49+
run: |
50+
echo Building and starting up docker containers
51+
docker-compose -f ./docker-compose.yml up -d
52+
4853
- name: Install dependencies
4954
env:
5055
HUSKY_SKIP_INSTALL: 'true'
@@ -56,10 +61,8 @@ jobs:
5661
- name: Build
5762
run: npm run build
5863

59-
- name: Build docker
60-
run: |
61-
echo Building and starting up docker containers
62-
docker-compose -f ./docker-compose.yml up
64+
# ensure BCDB node is up and running
65+
- run: sleep 10
6366

6467
- name: Test
6568
run: npm run test

0 commit comments

Comments
 (0)