specter-desktop/utils/test-all-linux.sh
k9ert ef364ce1bc
Chore: refurbish release infrastructure (#2198)
* 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
2023-02-15 14:58:33 +01:00

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