Skip to content

Commit

Permalink
Run test suite of RosettaSciIO, eXSpy, holospy, hyperspy_gui_traitsui…
Browse files Browse the repository at this point in the history
… and hyperspy_gui_ipywidgets
  • Loading branch information
ericpre committed Feb 3, 2024
1 parent 4859544 commit 22e0d4b
Showing 1 changed file with 73 additions and 3 deletions.
76 changes: 73 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,49 @@ jobs:
conda activate "${{ env.install_dir }}"
pytest --pyargs hyperspyui
- shell: bash -l {0}
name: Test RosettaSciIO
if: matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
pytest --pyargs rsciio --reruns 3
- shell: bash -l {0}
name: Test hyperspy
if: matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
pytest --pyargs hyperspy --reruns 3 -n 2
- shell: bash -l {0}
name: Test hyperspy_gui_ipywidgets
if: matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
pytest --pyargs hyperspy_gui_ipywidgets
- shell: bash -l {0}
name: Test hyperspy_gui_traitsui
if: runner.os != 'linux' && matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
pytest --pyargs hyperspy_gui_traitsui
- shell: bash -l {0}
name: Run test exspy
if: matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
pytest --pyargs exspy
# tests packaging needs to be fixed
# - shell: bash -l {0}
# name: Run test holospy
# if: matrix.ARCH == 'x86_64' && always()
# run: |
# conda activate "${{ env.install_dir }}"
# pytest --pyargs holospy

- shell: bash -l {0}
name: Run test lumispy
if: matrix.ARCH == 'x86_64' && always()
Expand Down Expand Up @@ -402,9 +438,43 @@ jobs:
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
# Remove for 1.7.6 release
del WPy64-31150\python-3.11.5.amd64\Lib\site-packages\hyperspy\tests\signals\test_find_peaks2D.py
pytest --pyargs hyperspy --reruns 3 -n 2
pytest --pyargs hyperspy --reruns 3 -n 4
- name: Run test RosettaSciIO
if: always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
pytest --pyargs rsciio --reruns 3
- name: Run test hyperspy_gui_ipywidgets
if: always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
pytest --pyargs hyperspy_gui_ipywidgets
- name: Run test hyperspy_gui_traitsui
if: always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
pytest --pyargs hyperspy_gui_traitsui -k "not test_image_contrast_tool"
- name: Run test exspy
if: always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
pytest --pyargs exspy
# Tests packaging needs to be fixed
# - name: Run test holospy
# if: always()
# shell: cmd
# run: |
# call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
# pytest --pyargs holospy

- name: Run test lumispy
if: always()
Expand Down

0 comments on commit 22e0d4b

Please sign in to comment.