Skip to content

Commit

Permalink
Tidy up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Nov 5, 2023
1 parent 500a9cd commit 976e99f
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,37 +262,29 @@ jobs:
# Skip these tests until there are fixed
pytest --pyargs hyperspy --reruns 3 -n 2 -k "not test_find_peaks2D"
- shell: bash -l {0}
name: Run other test suites
if: matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
# Skip these tests until there are fixed
pytest --pyargs ${{ env.LIB_TO_TEST }} ${{ env.LIB_TO_TEST_SKIP }}
- name: Run test lumispy
if: always()
if: matrix.ARCH == 'x86_64' && always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
conda activate "${{ env.install_dir }}"
# Skip these tests until there are fixed
pytest --pyargs lumispy
- name: Run test pyxem
if: always()
if: matrix.ARCH == 'x86_64' && always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
conda activate "${{ env.install_dir }}"
# Fails on linux-mkl build
pytest --pyargs pyxem
- name: Run test kikuchipy
if: always()
if: matrix.ARCH == 'x86_64' && always()
shell: cmd
env:
MPLBACKEND: 'agg'
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
conda activate "${{ env.install_dir }}"
# Skip these tests until there are fixed
pytest --pyargs kikuchipy
Expand Down Expand Up @@ -431,15 +423,15 @@ jobs:
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
# Skip these tests until there are fixed
pytest --pyargs pyxem -k "not test_load_with_padding"
pytest --pyargs pyxem -k "not test_rotation"
- name: Run test kikuchipy
if: always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
# Skip these tests until there are fixed
pytest --pyargs kikuchipy -k "not test_rotation"
pytest --pyargs kikuchipy -k "not test_load_with_padding"
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 976e99f

Please sign in to comment.