Skip to content

Update TutorialTest.m (ignore subject-related nwbinspector checks)#789

Open
ehennestad wants to merge 8 commits intomainfrom
ignore-nwbinspector-subject-checks-in-tutorialtests
Open

Update TutorialTest.m (ignore subject-related nwbinspector checks)#789
ehennestad wants to merge 8 commits intomainfrom
ignore-nwbinspector-subject-checks-in-tutorialtests

Conversation

@ehennestad
Copy link
Collaborator

@ehennestad ehennestad commented Mar 10, 2026

Depends on PR

Motivation

Ignore subject-related checks of nwbinspector when testing tutorial files (many of these do not have subject information)

How to test the behavior?

NWB test suite is currently failing because new subject checks were recently added in nwbinspector. This PR should ensure all test pass.

Checklist

  • Have you ensured the PR description clearly describes the problem and solutions?
  • Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
  • If this PR fixes an issue, is the first line of the PR description fix #XX where XX is the issue number?

@ehennestad ehennestad changed the title Update TutorialTest.m Update TutorialTest.m (ignore subject-related nwbinspector checks) Mar 10, 2026
Extend the test helper to treat types.untyped.DataPipe like DataStub by calling load() on actualValue before comparing.
Replace the old SKIP_PYNWB_COMPATIBILITY_TEST_FOR_TUTORIALS env var with SKIP_PYNWB_TESTS across tests and nwbtest.m, and update +tests/nwbtest.default.env.
Update CI workflow matrix keys and usage in prepare_release.yml, run_tests.yml, and configurations/matlab_release_matrix_strategy.yml to use the new key (matrix.skip-pynwb-tests) and wire the MATLAB setenv accordingly.
Move conditional installation of pynwb into the workflows (install pynwb only when skip-pynwb-tests == '0') and remove the direct git+ dependency from +tests/requirements.txt (update comment to reflect conditional installs).
Also add TestTags = {'UsesPython'} to PyNWBIOTest.

These changes centralize the CI control of pynwb installation and standardize the skip variable name.
…nore-nwbinspector-subject-checks-in-tutorialtests
@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.52%. Comparing base (1dac9e2) to head (0b5e80b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #789   +/-   ##
=======================================
  Coverage   95.52%   95.52%           
=======================================
  Files         191      191           
  Lines        6945     6946    +1     
=======================================
+ Hits         6634     6635    +1     
  Misses        311      311           

☔ 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.

checking if this class attribute trips up docs build
Move TestTags to methods blocks. Check if that fixes issue with sphinx build of docs
…nore-nwbinspector-subject-checks-in-tutorialtests
@ehennestad ehennestad requested a review from bendichter March 11, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant