From b269d59a79016ce79941b64d15fcd6453cc7ddd5 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Wed, 17 Feb 2021 12:49:20 +0100 Subject: [PATCH] ci: Use "twine check" instead of "setup.py check" --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: -- 2.39.2