Closed tbirdso closed 1 year ago
One consideration for notebook testing is how the wheel under test is made available for testing examples.
build-test-python-package
reusable workflow after it runs. The wheel artifact in question would reflect the PR changes under test. This would require that the notebook workflow runs after wheel builds complete, which appears possible but nontrivial to set up. (xref https://stevenmortimer.com/running-github-actions-sequentially/)build-test-python-package
workflow to optionally run notebook tests if enabled. This would be more difficult to discover, but seems to be more straightforward to implement.I am in favor of and currently investigating the third approach.
Adapt from workflow in https://github.com/InsightSoftwareConsortium/ITKParabolicMorphology/pull/40/files