Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Ensure limited set of tests are skipped #13053

Merged
merged 13 commits into from
Jan 10, 2025
Merged

Conversation

larsoner
Copy link
Member

@larsoner larsoner commented Jan 8, 2025

Looking at our logs recently I was unhappy that some tests were skipped that I thought should be run on the given CI. So:

  1. Add pytest hooks that optionally treat skips as errors based on MNE_TEST_ALLOW_SKIP (which defaults to not treating any skips as errors)
  2. Set MNE_TEST_ALLOW_SKIP to reasonable values for a few CIs (Windows pip-pre, Ubuntu pip-pre, and Ubuntu conda)
  3. Change some >> $GITHUB_ENV into | tee -a $GITHUB_ENV so that what we're storing gets printed (nicer CI debugging)
  4. Remove a junit_family which is unneeded now that it's the default
  5. Add some missing deps from some CIs

I expect this to fail due to some deps being missing, so I'll need to add one or two more or expand the ALLOW_SKIP regex to allow them (depending on which makes more sense). Ready for review/mark-for-merge-when-green in the meantime, though (knowing I'll make that change).

mne/conftest.py Outdated Show resolved Hide resolved
mne/conftest.py Outdated Show resolved Hide resolved
mne/conftest.py Outdated Show resolved Hide resolved
@larsoner larsoner requested a review from wmvanvliet as a code owner January 9, 2025 16:09
@drammock drammock enabled auto-merge (squash) January 9, 2025 16:28
@drammock drammock merged commit dedb392 into mne-tools:main Jan 10, 2025
30 checks passed
@drammock drammock deleted the tst branch January 10, 2025 05:52
qian-chu pushed a commit to qian-chu/mne-python that referenced this pull request Jan 20, 2025
larsoner added a commit to larsoner/mne-python that referenced this pull request Jan 24, 2025
* upstream/main: (57 commits)
  Allow lasso selection sensors in a plot_evoked_topo (mne-tools#12071)
  MAINT: Fix doc build (mne-tools#13076)
  BUG: Improve sklearn compliance (mne-tools#13065)
  [pre-commit.ci] pre-commit autoupdate (mne-tools#13073)
  MAINT: Add Numba to 3.13 test (mne-tools#13075)
  Bump autofix-ci/action from ff86a557419858bb967097bfc916833f5647fa8c to 551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef in the actions group (mne-tools#13071)
  [BUG] Correct annotation onset for exportation to EDF and EEGLAB (mne-tools#12656)
  New feature for removing heart artifacts from EEG or ESG data using a Principal Component Analysis - Optimal Basis Sets (PCA-OBS) algorithm (mne-tools#13037)
  [BUG] Fix taper weighting in computation of TFR multitaper power (mne-tools#13067)
  [FIX] Reading an EDF with preload=False and mixed frequency (mne-tools#13069)
  Fix evoked topomap colorbars, closes mne-tools#13050 (mne-tools#13063)
  [pre-commit.ci] pre-commit autoupdate (mne-tools#13060)
  BUG: Fix bug with interval calculation (mne-tools#13062)
  [DOC] extend documentation for add_channels (mne-tools#13051)
  Add `combine_tfr` to API (mne-tools#13054)
  Add `combine_spectrum()` function and allow `grand_average()` to support `Spectrum` data (mne-tools#13058)
  BUG: Fix bug with helium anon (mne-tools#13056)
  [ENH] Add option to store and return TFR taper weights (mne-tools#12910)
  BUG: viz plot window's 'title' argument showed no effect. (mne-tools#12828)
  MAINT: Ensure limited set of tests are skipped (mne-tools#13053)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants