diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 512876c..2f4fa05 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -361,69 +361,69 @@ jobs: restore-keys: | ${{ runner.os }}-integration-rosettasciio-${{ env.CACHE_NUMBER }} - - name: Run HyperSpy Test Suite - if: ${{ always() }} - working-directory: ${{ runner.temp }} - id: hyperspy_tests - run: | - # https://github.com/hyperspy/hyperspy/issues/3536 - # Fixed in https://github.com/hyperspy/hyperspy/pull/3554 - pytest --pyargs hyperspy ${{ env.PYTEST_ARGS }} ${{ env.PYTEST_LOG_ARGS }} -k "not test_arpack and not map_values_std_isset" - - - name: Report HyperSpy test failures as GitHub Issue - if: | - failure() - && inputs.REPORT_FAILURE_AS_ISSUE - && github.repository == 'hyperspy/hyperspy-extensions-list' - && steps.hyperspy_tests.outcome == 'failure' - uses: scientific-python/issue-from-pytest-log-action@558a3dfdd251069b328d3fded994824ddbefc47b - with: - log-path: ${{ runner.temp }}/pytest-log.jsonl - issue-title: ⚠️ HyperSpy test suite failed ⚠️ - assignees: "ericpre" - - - name: Run RosettaSciIO Test Suite - if: ${{ always() }} - working-directory: ${{ runner.temp }} - run: | - # mrcz doesn't support python 3.12 and above because of dependence on distutils - # https://github.com/em-MRCZ/python-mrcz/pull/16 - # distutils is vendored in setuptools, which can be misleading - # pyusid doesn't support numpy 2 - pytest --pyargs rsciio ${{ env.PYTEST_ARGS }} -k "not test_mrcz.py and not test_usid.py" - - - name: Run LumiSpy Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'lumispy')}} - working-directory: ${{ runner.temp }} - run: | - pytest --pyargs lumispy - - - name: Run hyperspy_gui_ipywidgets Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'hyperspy-gui-ipywidgets') }} - working-directory: ${{ runner.temp }} - run: | - pytest --pyargs hyperspy_gui_ipywidgets - - - name: Run hyperspy_gui_traitsui Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'hyperspy-gui-traitsui') }} - working-directory: ${{ runner.temp }} - run: | - pytest --pyargs hyperspy_gui_traitsui - - - name: Run Pyxem Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'pyxem') }} - working-directory: ${{ runner.temp }} - run: | - # https://github.com/pyxem/pyxem/issues/1153 - # https://github.com/pyxem/pyxem/issues/1174 - # test_load_au_grating: skip to avoid hitting rate limits from zenodo - pytest --pyargs pyxem -k "not TestAddEllipseArrayAsMarkers and not test_ransac_ellipse_tools and not test_load_au_grating" - - - name: Run holospy Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'holospy') }} - working-directory: ${{ runner.temp }} - run: | - pytest --pyargs holospy + # - name: Run HyperSpy Test Suite + # if: ${{ always() }} + # working-directory: ${{ runner.temp }} + # id: hyperspy_tests + # run: | + # # https://github.com/hyperspy/hyperspy/issues/3536 + # # Fixed in https://github.com/hyperspy/hyperspy/pull/3554 + # pytest --pyargs hyperspy ${{ env.PYTEST_ARGS }} ${{ env.PYTEST_LOG_ARGS }} -k "not test_arpack and not map_values_std_isset" + + # - name: Report HyperSpy test failures as GitHub Issue + # if: | + # failure() + # && inputs.REPORT_FAILURE_AS_ISSUE + # && github.repository == 'hyperspy/hyperspy-extensions-list' + # && steps.hyperspy_tests.outcome == 'failure' + # uses: scientific-python/issue-from-pytest-log-action@558a3dfdd251069b328d3fded994824ddbefc47b + # with: + # log-path: ${{ runner.temp }}/pytest-log.jsonl + # issue-title: ⚠️ HyperSpy test suite failed ⚠️ + # assignees: "ericpre" + + # - name: Run RosettaSciIO Test Suite + # if: ${{ always() }} + # working-directory: ${{ runner.temp }} + # run: | + # # mrcz doesn't support python 3.12 and above because of dependence on distutils + # # https://github.com/em-MRCZ/python-mrcz/pull/16 + # # distutils is vendored in setuptools, which can be misleading + # # pyusid doesn't support numpy 2 + # pytest --pyargs rsciio ${{ env.PYTEST_ARGS }} -k "not test_mrcz.py and not test_usid.py" + + # - name: Run LumiSpy Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'lumispy')}} + # working-directory: ${{ runner.temp }} + # run: | + # pytest --pyargs lumispy + + # - name: Run hyperspy_gui_ipywidgets Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'hyperspy-gui-ipywidgets') }} + # working-directory: ${{ runner.temp }} + # run: | + # pytest --pyargs hyperspy_gui_ipywidgets + + # - name: Run hyperspy_gui_traitsui Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'hyperspy-gui-traitsui') }} + # working-directory: ${{ runner.temp }} + # run: | + # pytest --pyargs hyperspy_gui_traitsui + + # - name: Run Pyxem Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'pyxem') }} + # working-directory: ${{ runner.temp }} + # run: | + # # https://github.com/pyxem/pyxem/issues/1153 + # # https://github.com/pyxem/pyxem/issues/1174 + # # test_load_au_grating: skip to avoid hitting rate limits from zenodo + # pytest --pyargs pyxem -k "not TestAddEllipseArrayAsMarkers and not test_ransac_ellipse_tools and not test_load_au_grating" + + # - name: Run holospy Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'holospy') }} + # working-directory: ${{ runner.temp }} + # run: | + # pytest --pyargs holospy - name: Run exSpy Test Suite if: ${{ always() && contains(inputs.EXTENSIONS, 'exspy') && inputs.EXTENSION_VERSION == 'dev' }} @@ -431,29 +431,29 @@ jobs: run: | pytest --pyargs exspy -n 2 - - name: Run kikuchipy Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'kikuchipy') }} - working-directory: ${{ runner.temp }} - run: | - # https://github.com/pyxem/kikuchipy/issues/707 - # https://github.com/pyxem/kikuchipy/pull/749 - # test_dataset_availability: don't test dataset availability to avoid hitting rate limits from zenodo - pytest --pyargs kikuchipy -k "not test_not_allow_download_raises and not spherical and not test_dataset_availability" - - - name: Run etspy Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'etspy') }} - working-directory: ${{ runner.temp }} - run: | - # https://github.com/usnistgov/etspy/issues/24 - pytest --pyargs etspy -k "not test_version" - - - name: Run atomap Test Suite - if: ${{ always() && contains(inputs.EXTENSIONS, 'atomap') }} - working-directory: ${{ runner.temp }} - run: | - # don't run tests that require a gui - # https://github.com/atomap-dev/atomap/pull/2 - pytest --pyargs atomap -k "not test_gui_function_qt" + # - name: Run kikuchipy Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'kikuchipy') }} + # working-directory: ${{ runner.temp }} + # run: | + # # https://github.com/pyxem/kikuchipy/issues/707 + # # https://github.com/pyxem/kikuchipy/pull/749 + # # test_dataset_availability: don't test dataset availability to avoid hitting rate limits from zenodo + # pytest --pyargs kikuchipy -k "not test_not_allow_download_raises and not spherical and not test_dataset_availability" + + # - name: Run etspy Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'etspy') }} + # working-directory: ${{ runner.temp }} + # run: | + # # https://github.com/usnistgov/etspy/issues/24 + # pytest --pyargs etspy -k "not test_version" + + # - name: Run atomap Test Suite + # if: ${{ always() && contains(inputs.EXTENSIONS, 'atomap') }} + # working-directory: ${{ runner.temp }} + # run: | + # # don't run tests that require a gui + # # https://github.com/atomap-dev/atomap/pull/2 + # pytest --pyargs atomap -k "not test_gui_function_qt" - name: Show content of all pooch caches if: ${{ always() && inputs.CACHE_POOCH != '' }}