From: Kaliko Jack Date: Wed, 17 Feb 2021 11:49:20 +0000 (+0100) Subject: ci: Use "twine check" instead of "setup.py check" X-Git-Tag: v0.6.0~17 X-Git-Url: https://git.kaliko.me/?p=python-musicpd.git;a=commitdiff_plain;h=b269d59a79016ce79941b64d15fcd6453cc7ddd5;hp=84be94e890b9a4fb3ac334c1da976fd8e1dcb033 ci: Use "twine check" instead of "setup.py check" --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3825089..c12ae0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,8 @@ stages: test: stage: test script: - - pip install pytest-cov docutils + - pip install pytest-cov - py.test -q --cov=musicpd test.py - - python setup.py check -r -s coverage: '/musicpd.py\s+\d+\s+\d+\s+(\d+)%/' only: - pushes @@ -23,6 +22,8 @@ build: # packaging test - python setup.py bdist_wheel sdist - pip install dist/*.whl + - pip install twine + - twine check dist/* artifacts: expire_in: 1 week paths: