diff --git a/debian/changelog b/debian/changelog index edc5654..c7ae37c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,9 @@ + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now does this. * Update standards version to 4.5.1, no changes needed. + + [ Stefano Rivera ] + * Run tests against all supported Python versions. -- Ondřej Nový Fri, 18 Oct 2019 15:27:26 +0200 diff --git a/debian/rules b/debian/rules index 672cdc6..4bc850d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,8 @@ #!/usr/bin/make -f export PYBUILD_NAME=anosql - +export PYBUILD_TEST_PYTEST=1 +export PYBUILD_TEST_ARGS={dir}/tests -k 'not test_simple and not test_psycopg2' %: dh $@ --with python3 --buildsystem=pybuild - -override_dh_auto_test: - # Requires pytest-postgresql not yet in debian - py.test-3 tests -k 'not test_simple and not test_psycopg2'