Skip to content

Commit

Permalink
Pin pytest to 7.4.4 to get the pyxem test suite to work
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Feb 3, 2024
1 parent 22e0d4b commit 5dffaef
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ permissions:

env:
MPLBACKEND: 'agg'
TEST_DEPS: pytest pytest-qt pytest-xdist pytest-rerunfailures pytest-mpl
# pin pytest to 7.4.4 to get the test suite of pyxem to work
TEST_DEPS: pytest==7.4.4 pytest-qt pytest-xdist pytest-rerunfailures pytest-mpl

jobs:
create_release_job:
Expand Down Expand Up @@ -304,12 +305,12 @@ jobs:
conda activate "${{ env.install_dir }}"
pytest --pyargs lumispy
# - shell: bash -l {0}
# name: Run test pyxem
# if: matrix.ARCH == 'x86_64' && always()
# run: |
# conda activate "${{ env.install_dir }}"
# pytest --pyargs pyxem
- shell: bash -l {0}
name: Run test pyxem
if: matrix.ARCH == 'x86_64' && always()
run: |
conda activate "${{ env.install_dir }}"
pytest --pyargs pyxem
# - shell: bash -l {0}
# name: Run test kikuchipy
Expand Down Expand Up @@ -484,12 +485,12 @@ jobs:
# Skip these tests until there are fixed
pytest --pyargs lumispy
# - name: Run test pyxem
# if: always()
# shell: cmd
# run: |
# call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
# pytest --pyargs pyxem
- name: Run test pyxem
if: always()
shell: cmd
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
pytest --pyargs pyxem
# - name: Run test kikuchipy
# if: always()
Expand Down

0 comments on commit 5dffaef

Please sign in to comment.