2022-06-19 14:28:37 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pip3 install virtualenv
|
|
|
|
|
virtualenv --python=python3 .env
|
|
|
|
|
source .env/bin/activate
|
2022-12-09 10:10:42 +01:00
|
|
|
# removing modules related to cryptoadvance is faster than doing rm -rf .env
|
|
|
|
|
pip3 freeze | grep ^cryptoadvance | xargs pip uninstall -y # the ^ means the line has to start with the search word
|
|
|
|
|
pip3 freeze | grep ^specterext | xargs pip uninstall -y # the ^ means the line has to start with the search word
|
2022-06-19 14:28:37 +02:00
|
|
|
pip3 install -r requirements.txt --require-hashes
|
2022-12-09 10:10:42 +01:00
|
|
|
pip3 install -e . # this does not compile the babel translation-files
|
2022-06-19 14:28:37 +02:00
|
|
|
|
|
|
|
|
|
2023-02-15 14:58:33 +01:00
|
|
|
pip3 install -e ".[test]"
|
2022-06-19 14:28:37 +02:00
|
|
|
./tests/install_noded.sh --bitcoin binary
|
|
|
|
|
./tests/install_noded.sh --elements binary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export PATH=./tests/elements/bin/:./tests/bitcoin/bin/:$PATH
|
|
|
|
|
|
|
|
|
|
rm -Rf ./cypress/videos ./cypress/screenshots
|
|
|
|
|
|
|
|
|
|
./utils/test-cypress.sh run
|
|
|
|
|
pytest
|
|
|
|
|
|