Skip to content
Snippets Groups Projects
Commit c98d00ca authored by Patrycja Rosa's avatar Patrycja Rosa :cat: Committed by alice
Browse files

community/electrum: fix running tests

parent 913849ec
No related branches found
No related tags found
1 merge request!30741community/electrum: fix running tests
Pipeline #110530 canceled
......@@ -23,18 +23,26 @@ depends="
"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pyside2 py3-mock"
source="
https://download.electrum.org/$pkgver/Electrum-$pkgver.tar.gz
0001-apk-add-instead-of-apt-get-install.patch
"
builddir="$srcdir/Electrum-$pkgver"
case "$CARCH" in
# pyside2 is not available
armhf|ppc64le|s390x) options="$options !check"
esac
build() {
python3 setup.py build
}
check() {
python3 setup.py check
# PySide2 UI tests are failing, because .ui files are missing in the tarball
# setting CI variable skips them, because upstream can't run them either
CI=1 python3 -m pytest
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment