improvements to the tests, and added testing to the pipeline. Now a package won't publish if it doesn't test :)

This commit is contained in:
2021-03-24 13:47:47 +01:00
parent 493d13f779
commit fbf0277dd1
3 changed files with 23 additions and 4 deletions

View File

@@ -22,6 +22,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Test #TODO use a testing solution that won't be deprecated soon
run: |
python setup.py test
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}