From f67c467617172341b5724640530c4466b80f9fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Thu, 19 Sep 2024 19:35:04 +0200 Subject: [PATCH] fix tests --- .gitlab-ci.yml | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ec60f1..4050177 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ stages: alias: rabbitmq before_script: - python setup.py install - - pip install --break-system-packages nose2 coverage requests yapf + - pip install --break-system-packages nose2 coverage requests yapf nose2[coverage_plugin] - coverage run --append -m compile_definitions artifacts: paths: @@ -56,7 +56,7 @@ unittest_epoll_python27: extends: .before_test image: python:2.7 before_script: - - pip install nose2 + - pip install nose2 nose2[coverage_plugin] - python setup.py install script: - nose2 -F -vv diff --git a/setup.py b/setup.py index a7086aa..c4771e4 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availabilit version=__version__, packages=find_packages(include=['coolamqp', 'coolamqp.*']), install_requires=['six'], - tests_require=["pytest", "coverage"], + tests_require=["pytest", "coverage", "nose2[coverage_plugin]"], test_suite='nose2.collector.collector', python_requires='!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', extras_require={ -- GitLab