]> kaliko git repositories - python-musicpd.git/commitdiff
ci: Use "twine check" instead of "setup.py check"
authorKaliko Jack <kaliko@azylum.org>
Wed, 17 Feb 2021 11:49:20 +0000 (12:49 +0100)
committerKaliko Jack <kaliko@azylum.org>
Wed, 17 Feb 2021 11:49:20 +0000 (12:49 +0100)
.gitlab-ci.yml

index 38250898d60473ac1fca448d1654796020cdcc95..c12ae0eebee9ca838ce5e3e2b32a780b48ded2a8 100644 (file)
@@ -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: