Skip to content

Commit

Permalink
make now runs pre-requisites sequantial
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Aug 20, 2020
1 parent cf2cb27 commit e23377b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY : all config build run clean
.PHONY : all config build run clean test_live test_simulated_substrate test_simulated_cosmos test_faulty_simulated_substrate test_faulty_simulated_cosmos
.DEFAULT_GOAL := all

config:
Expand All @@ -15,7 +15,7 @@ config:
build:
docker-compose build

all: build clean config run
all: | build clean config run

clean:
docker-compose down
Expand All @@ -24,18 +24,18 @@ clean:
run:
docker-compose up

test_live:
test_live: | clean config
docker-compose up --exit-code-from qt

test_simulated_substrate:
test_simulated_substrate: | clean config
TEST_MODE=simulated_substrate docker-compose up --exit-code-from qt

test_simulated_cosmos:
test_simulated_cosmos: | clean config
TEST_MODE=simulated_cosmos docker-compose up --exit-code-from qt

test_faulty_simulated_substrate:
test_faulty_simulated_substrate: | clean config
TEST_MODE=faulty_simulated_substrate docker-compose up --exit-code-from qt

test_faulty_simulated_cosmos:
test_faulty_simulated_cosmos: | clean config
TEST_MODE=faulty_simulated_cosmos docker-compose up --exit-code-from qt

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ make run
```

## Integration tests
Before running integration test, docker images are needed to be built with `make build`.
There are five integration test variants you can run:

### Live
Expand Down

0 comments on commit e23377b

Please sign in to comment.