mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
give time to the db container
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
5cdcb54351
commit
9a25e70dda
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
@ -29,5 +29,5 @@ jobs:
|
||||
run: pip install -e '.[dev]'
|
||||
|
||||
|
||||
- name: Start containers
|
||||
- name: Execute Tests
|
||||
run: make test
|
||||
|
||||
3
Makefile
3
Makefile
@ -81,12 +81,13 @@ test: check-deps test-unit test-acceptance ## Run unit and acceptance tests
|
||||
|
||||
test-unit: check-deps ## Run all tests once or specify a file/test with TEST=tests/file.py::Class::test
|
||||
@$(DC) up -d tarantool
|
||||
sleep 3
|
||||
#wget https://github.com/tendermint/tendermint/releases/download/v0.34.15/tendermint_0.34.15_linux_amd64.tar.gz
|
||||
#tar zxf tendermint_0.34.15_linux_amd64.tar.gz
|
||||
pytest -m "not abci"
|
||||
rm -rf ~/.tendermint && ./tendermint init && ./tendermint node --consensus.create_empty_blocks=false --rpc.laddr=tcp://0.0.0.0:26657 --proxy_app=tcp://localhost:26658&
|
||||
pytest -m abci
|
||||
@$(DC) down
|
||||
@$(DC) stop tarantool
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user