testing/py3-codecov: enable tests

This commit is contained in:
Hugo Osvaldo Barrera 2024-04-26 22:16:03 +02:00 committed by omni
parent d12d0c1b71
commit 7c9b673b6e

View File

@ -4,13 +4,12 @@ pkgname=py3-codecov
pkgver=2.1.13 pkgver=2.1.13
pkgrel=2 pkgrel=2
pkgdesc="Report uploader for Codecov" pkgdesc="Report uploader for Codecov"
options="!check" # Requires unpackaged 'ddt'
url="https://github.com/codecov/codecov-python" url="https://github.com/codecov/codecov-python"
arch="noarch" arch="noarch"
license="Apache-2.0" license="Apache-2.0"
depends="python3 py3-coverage py3-requests" depends="python3 py3-coverage py3-requests"
makedepends="py3-setuptools" makedepends="py3-setuptools"
checkdepends="py3-pytest" checkdepends="py3-pytest py3-ddt py3-mock"
subpackages="$pkgname-pyc" subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/codecov/codecov-python/archive/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/codecov/codecov-python/archive/v$pkgver.tar.gz"
builddir="$srcdir"/codecov-python-$pkgver builddir="$srcdir"/codecov-python-$pkgver
@ -23,7 +22,8 @@ build() {
} }
check() { 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() { package() {