diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 47dbbb5..97c0d34 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8] + python-version: [3.5, 3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml deleted file mode 100644 index d5f3859..0000000 --- a/.github/workflows/pythonpublish.yml +++ /dev/null @@ -1,31 +0,0 @@ -# This workflows will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - -name: Upload Python Package - -on: - release: - types: [created] - -jobs: - deploy: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - python setup.py sdist bdist_wheel - twine upload dist/* diff --git a/setup.py b/setup.py index 21e3784..cfd12f5 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name = 'cmcrameri', packages = ['cmcrameri'], - version = '0.10', + version = '0.11', license='MIT', long_description=long_description, long_description_content_type='text/markdown', diff --git a/tests/test_cmcrameri.py b/tests/test_cmcrameri.py index ba0bbf6..08ec0b0 100644 --- a/tests/test_cmcrameri.py +++ b/tests/test_cmcrameri.py @@ -12,7 +12,6 @@ def test_find_files(): assert len(cm.paths) > 0 - print(f"Number of text files: {len(cm.paths)}") def test_cmap_import(): @@ -26,8 +25,6 @@ def test_cmap_import(): cmap_names.append(name) # Should be twice as many colour maps as files (original and reversed versions) assert no_cmaps == 2*len(cm.paths) - print(f"Number of colormaps: {no_cmaps}\n" - f"Names of colourmpas: {cmap_names}") test_find_files() -test_cmap_import() \ No newline at end of file +test_cmap_import()