Skip to content

Conversation

mbeyeler
Copy link
Member

@mbeyeler mbeyeler commented Sep 5, 2025

This PR adds lightweight GitHub Actions workflows that emulate a Colab environment to catch install issues early:

  • PR smoke test: On every push/PR, installs pulse2percept from the exact commit/branch using pip install git+…, checks runtime dependencies, and runs a basic import/ScoreboardModel instantiation.

  • Daily drift check: Scheduled job that installs from both GitHub master and PyPI, in two profiles:

    • latest (no pre-pins) to detect upstream breakage.
    • colab-pins (NumPy/JAX/TensorFlow/PyTorch versions Colab ships) to mirror the real Colab runtime.

This ensures users’ common workflow (!pip install git+… or !pip install pulse2percept) continues to work smoothly in Colab.

Copy link

codecov bot commented Sep 5, 2025

Codecov Report

❌ Patch coverage is 83.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.41%. Comparing base (a8c0c18) to head (3ebf05a).

Files with missing lines Patch % Lines
pulse2percept/utils/array.py 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #738      +/-   ##
==========================================
+ Coverage   86.07%   89.41%   +3.34%     
==========================================
  Files         118      118              
  Lines       11279    11288       +9     
  Branches     1278     1279       +1     
==========================================
+ Hits         9708    10093     +385     
+ Misses       1279      888     -391     
- Partials      292      307      +15     

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

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