mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
* change release infra * syntax error * fix buildscript (hopefully) * fix pip generation too * fix build (hopefully) * fix bloated sdid (mainly MANIFEST.in) * adjust tests, remove importlib_meta * fix dependency issue in release jobs * fix tests and remove pytest.ini entirely * fix install_noded script * fix test * fix tests * stupid versioin parsing does not work! * try to fix version guessing * and again
25 lines
787 B
Bash
Executable file
25 lines
787 B
Bash
Executable file
#!/bin/bash
|
|
|
|
|
|
pip3 install virtualenv
|
|
virtualenv --python=python3 .env
|
|
source .env/bin/activate
|
|
# 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
|
|
pip3 install -r requirements.txt --require-hashes
|
|
pip3 install -e . # this does not compile the babel translation-files
|
|
|
|
|
|
pip3 install -e ".[test]"
|
|
./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
|
|
|