Skip to content

Commit

Permalink
Drop python 3.7, add python 3.12 and update tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Dec 3, 2023
1 parent 632e998 commit ef83e8a
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.7', '3.9', '3.10', '3.11']
PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11', '3.12']
HYPERSPY_VERSION: ['release']
include:
- PYTHON_VERSION: '3.8'
HYPERSPY_VERSION: 'RnMinor'
- PYTHON_VERSION: '3.8'
HYPERSPY_VERSION: 'RnMajor'
HYPERSPY_VERSION: 'dev'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -51,20 +49,11 @@ jobs:
run: |
pip install pyqt5 PyQtWebEngine
- name: Install HyperSpy (RELEASE_next_minor)
shell: bash
if: "contains( matrix.HYPERSPY_VERSION, 'RnMinor')"
run: |
pip install https://github.com/hyperspy/hyperspy/archive/RELEASE_next_minor.zip
- name: Install HyperSpy (RELEASE_next_major)
- name: Install HyperSpy (dev)
shell: bash
if: "contains( matrix.HYPERSPY_VERSION, 'RnMajor')"
if: ${{ contains(matrix.HYPERSPY_VERSION, 'dev') }}
run: |
# We currently need to install these development until hyperspy 2.0 is released
pip install https://github.com/hyperspy/rosettasciio/archive/main.zip
pip install https://github.com/hyperspy/hyperspy_gui_traitsui/archive/main.zip
pip install https://github.com/hyperspy/hyperspy/archive/RELEASE_next_major.zip
pip install git+https://github.com/hyperspy/hyperspy.git@RELEASE_next_major
- name: Install
shell: bash
Expand Down

0 comments on commit ef83e8a

Please sign in to comment.