diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d98b21..bdf1e64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,18 +67,29 @@ jobs: run: | ls dist/ - - name: Install and test distribution + - uses: actions/upload-artifact@v2 + with: + path: | + ./dist/*.whl + ./dist/*.tar.gz + + - name: Install Dependencies + run: | + pip install pyqt5 + sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 + + + - name: Install package env: MPLBACKEND: agg run: | pip install --find-links dist hyperspy_gui_traitsui[tests] - pytest --pyargs hyperspy_gui_traitsui - - uses: actions/upload-artifact@v2 + - name: Run test suite + # run the tests headlessly + uses: GabrielBB/xvfb-action@v1 with: - path: | - ./dist/*.whl - ./dist/*.tar.gz + run: pytest --pyargs hyperspy_gui_traitsui - name: Publish wheels to PyPI if: github.repository_owner == 'hyperspy' diff --git a/CHANGES.rst b/CHANGES.rst new file mode 100644 index 0000000..e3732d4 --- /dev/null +++ b/CHANGES.rst @@ -0,0 +1,18 @@ +.. + Add a single entry in the corresponding section below. + See https://keepachangelog.com for details + +1.5.0.dev0 (Unreleased) +----------------------- + + + +1.4.0 +----- +The is a minor release: + +* Fix closing contrast editor tool. +* Add iterpath to fit component GUI. +* Make axes gui compatible with non-unform axis. +* Use GitHub Actions to run the test suite and make release. + diff --git a/hyperspy_gui_traitsui/version.py b/hyperspy_gui_traitsui/version.py index 223e240..b93562a 100644 --- a/hyperspy_gui_traitsui/version.py +++ b/hyperspy_gui_traitsui/version.py @@ -1 +1 @@ -__version__ = "1.4.dev0" +__version__ = "1.5.0.dev0" diff --git a/setup.py b/setup.py index 47e03fe..17582ce 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Science/Research", @@ -79,7 +80,7 @@ # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html - install_requires=['hyperspy>=1.6', 'traitsui>=6.0'], + install_requires=['hyperspy>=1.6.2', 'traitsui>=6.0'], extras_require={ 'tests': ['pytest'], 'coverage':["pytest-cov", "codecov"]},