Move shutting down to after_script

This commit is contained in:
Milos Milosevic 2023-07-07 12:48:14 +02:00
parent c5953c542c
commit b6b5893979

View file

@ -159,10 +159,11 @@ test-e2e:
- python3 main.py --start all
- docker ps -a
- python3 -m pytest test_btc_init_state.py test_hive_inital_state.py test_pp_inital_state.py
- python3 main.py --stop
- deactivate
- docker ps -a
after_script:
- cd peerplays-utils/peerplays-qa-environment/e2e-tests
- docker-compose down
- docker rmi $(docker images -a | grep -v 'hive-for-peerplays\|ethereum-for-peerplays\|bitcoin-for-peerplays\|ubuntu-for-peerplays\|peerplays-base' | awk '{print $3}')
tags:
- python-tests