diff --git a/testing/py3-codecov/APKBUILD b/testing/py3-codecov/APKBUILD index 5c391d850f1..d26ced99c7f 100644 --- a/testing/py3-codecov/APKBUILD +++ b/testing/py3-codecov/APKBUILD @@ -4,13 +4,12 @@ pkgname=py3-codecov pkgver=2.1.13 pkgrel=2 pkgdesc="Report uploader for Codecov" -options="!check" # Requires unpackaged 'ddt' url="https://github.com/codecov/codecov-python" arch="noarch" license="Apache-2.0" depends="python3 py3-coverage py3-requests" makedepends="py3-setuptools" -checkdepends="py3-pytest" +checkdepends="py3-pytest py3-ddt py3-mock" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/codecov/codecov-python/archive/v$pkgver.tar.gz" builddir="$srcdir"/codecov-python-$pkgver @@ -23,7 +22,8 @@ build() { } check() { - py.test-3 tests/test.py + # Disable tests that require git history (the last one fails only on gitlab CI). + py.test tests/test.py -k 'not test_bowerrc_none and not test_prefix and not test_send and not test_ci_gitlab_pre9' } package() {