Add commands to run unit tests in PKGBUILD

This commit is contained in:
Eric Torres 2019-03-13 02:45:55 -07:00
parent cf04e3ff8a
commit f23fefa4f7

View File

@ -19,6 +19,11 @@ build() {
python setup.py build python setup.py build
} }
check() {
cd "$srcdir/${pkgname}"
python -m unittest tests
}
package() { package() {
cd "$srcdir/${pkgname}" cd "$srcdir/${pkgname}"