diff options
author | Luis Martinez | 2021-10-02 21:27:19 -0500 |
---|---|---|
committer | Luis Martinez | 2021-10-02 21:27:19 -0500 |
commit | d3ac97813d02109d41e251ceef43065098da762e (patch) | |
tree | fce958e23241c8f15a5f61066b7afddc8383dd5c | |
parent | d2ffb85e10587df3457fef59eb4417920a6de4ef (diff) | |
download | aur-python-rq-scheduler.tar.gz |
add tests
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-rq-scheduler pkgdesc = Small package that adds job scheduling capabilities to RQ pkgver = 0.10.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/rq/rq-scheduler arch = any license = MIT @@ -3,7 +3,7 @@ pkgname=python-rq-scheduler pkgver=0.10.0 -pkgrel=1 +pkgrel=2 pkgdesc="Small package that adds job scheduling capabilities to RQ" arch=('any') license=('MIT') @@ -18,6 +18,11 @@ build() { python setup.py build } +check() { + cd "rq-scheduler-$pkgver" + python -m unittest run_tests.py +} + package() { cd "rq-scheduler-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build |