diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f3ba23..ef3be64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -431,7 +423,7 @@ 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() @@ -439,7 +431,7 @@ jobs: 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/')