Skip to content

Conversation

@ericpre
Copy link
Member

@ericpre ericpre commented Jul 20, 2025

Add integration tests workflow using reusable workflow: https://github.com/hyperspy/.github/blob/main/.github/workflows/integration_tests.yml.

Alternative to #388.

Progress of the PR

  • Setup integration tests,
  • [n/a] update docstring (if appropriate),
  • [n/a] update user guide (if appropriate),
  • add a changelog entry in the upcoming_changes folder (see upcoming_changes/README.rst),
  • Check formatting of the changelog entry (and eventual user guide changes) in the docs/readthedocs.org:rosettasciio build of this PR (link in github checks)
  • [n/a] add tests,
  • ready for review.

@codecov
Copy link

codecov bot commented Jul 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.08%. Comparing base (e84a943) to head (8039249).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #426   +/-   ##
=======================================
  Coverage   88.08%   88.08%           
=======================================
  Files          91       91           
  Lines       11798    11798           
  Branches     2186     2186           
=======================================
  Hits        10392    10392           
  Misses        890      890           
  Partials      516      516           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds integration tests workflow to run test suites of software in the HyperSpy ecosystem. The integration tests use a reusable workflow from the hyperspy organization and are configured to test multiple combinations of HyperSpy and extension versions.

  • Adds GitHub Actions workflow for integration testing with matrix strategy for different HyperSpy and extension versions
  • Includes changelog entry documenting the addition of integration tests
  • Configures tests to run on PR events with specific labels or manual dispatch

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/integration_tests.yml New workflow file defining integration test job with matrix strategy and reusable workflow configuration
upcoming_changes/426.maintenance.rst Changelog entry documenting the integration tests addition

@ericpre
Copy link
Member Author

ericpre commented Jul 21, 2025

The failure of the test suite and integration test suite are genuine and should be fixed in hyperspy/hyperspy#3528.

@jlaehne jlaehne mentioned this pull request Jul 24, 2025
5 tasks
@jlaehne
Copy link
Member

jlaehne commented Jul 24, 2025

Awaiting #425

@ericpre ericpre force-pushed the test_extension_workflow branch 3 times, most recently from 8039249 to 372de8f Compare July 26, 2025 11:33
@ericpre ericpre force-pushed the test_extension_workflow branch from 372de8f to 5c06b78 Compare July 26, 2025 12:03
@ericpre ericpre mentioned this pull request Jul 26, 2025
@ericpre ericpre merged commit a5bc17c into hyperspy:main Jul 26, 2025
38 checks passed
@ericpre ericpre added this to the v0.10 milestone Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-integration-tests Run integration tests workflow type: maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants