Skip to content

Add pytest-notebook dependency - #976

Open
teutoburg wants to merge 1 commit into
mainfrom
fh/ptnb
Open

Add pytest-notebook dependency#976
teutoburg wants to merge 1 commit into
mainfrom
fh/ptnb

Conversation

@teutoburg

@teutoburg teutoburg commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Doesn't do anything yet, but I'm trying to replace our rather cumbersome way of running the notebooks as part of the tests. This has the advantage that the notebooks can count towards coverage (see also #240, which this does not close yet, but might enable something in the future). I'm still testing what's best for our setup, there are several options. But this seems to work and the dependencies it adds indirectly are not too bad. It does include gitpython (although I'm not quite sure why, but it can do regression testing as well, which might be the reason), which is fine, because I wanted to use that anyway to deal with IRDB packages. Oh and the dependencies are of course only in the tests group, so not required to pip install.

@teutoburg teutoburg self-assigned this Aug 15, 2026
@teutoburg teutoburg added dependencies Related to or updating any dependencies tests Related to unit or integration tests labels Aug 15, 2026
@teutoburg teutoburg moved this to 🏗 In progress in ScopeSim-development Aug 15, 2026
@codecov

codecov Bot commented Aug 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.91%. Comparing base (ec8ed7f) to head (28c1a6f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #976   +/-   ##
=======================================
  Coverage   75.91%   75.91%           
=======================================
  Files          70       70           
  Lines        9037     9037           
=======================================
  Hits         6860     6860           
  Misses       2177     2177           

☔ View full report in Codecov by Harness.
📢 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.

@teutoburg
teutoburg enabled auto-merge August 15, 2026 21:35
@teutoburg
teutoburg requested a review from a team August 15, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Related to or updating any dependencies tests Related to unit or integration tests

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

1 participant