Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Integration tests

on:
pull_request_review:
types: [submitted, edited]
pull_request:
push:
branches-ignore:
- 'dependabot/**'
- 'pre-commit-ci-update-config'
workflow_dispatch:

jobs:
integration_test:
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-integration-tests') || github.event_name == 'workflow_dispatch' }}
name: hs_${{ matrix.HYPERSPY_VERSION }}-ext_${{ matrix.EXTENSION_VERSION }}
strategy:
fail-fast: false
matrix:
EXTENSION_VERSION: ['release', 'dev']
HYPERSPY_VERSION: ['release', 'RnM', 'RnP']
# Use the "reusable workflow" from the hyperspy organisation
uses: hyperspy/.github/.github/workflows/integration_tests.yml@main
with:
# don't run etspy until test suite is fixed
Comment thread
ericpre marked this conversation as resolved.
Comment thread
ericpre marked this conversation as resolved.
# EXTENSIONS: 'exspy holospy lumispy pyxem atomap kikuchipy hyperspy-gui-ipywidgets hyperspy-gui-traitsui etspy'
EXTENSIONS: 'exspy holospy lumispy pyxem atomap kikuchipy hyperspy-gui-ipywidgets hyperspy-gui-traitsui'
EXTENSION_VERSION: ${{ matrix.EXTENSION_VERSION }}
HYPERSPY_VERSION: ${{ matrix.HYPERSPY_VERSION }}
# Use `numpy-quaternion` orix optional dependency as a workaround to fix
# segmentation fault issue in orix, which occurs when numpy-quaternion is
# not installed - reason unknown.
ADDITIONAL_PACKAGES: 'numpy-quaternion'
PIP_EXTRAS: '[all,tests]'
USE_CONDA: false
1 change: 1 addition & 0 deletions upcoming_changes/426.maintenance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add integration tests to run the test suites of software in the HyperSpy ecosystem.
Loading