Skip to content

Test example scripts with uv run in CI #286

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

Merged
merged 6 commits into from
Mar 27, 2025
Merged

Test example scripts with uv run in CI #286

merged 6 commits into from
Mar 27, 2025

Conversation

janosh
Copy link
Owner

@janosh janosh commented Mar 27, 2025

faster and allows installing per-script dependencies which fixes assets/scripts/cluster/composition/cluster_compositions_matbench.py (currently failing because umap-learn's numba dependency forces numpy<2 which clashes with other packages)

@janosh janosh added testing Test all the things ci Continuous integration labels Mar 27, 2025
Copy link

codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.12%. Comparing base (3406455) to head (8696baf).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #286   +/-   ##
=======================================
  Coverage   86.12%   86.12%           
=======================================
  Files          48       48           
  Lines        5340     5340           
  Branches     1081     1081           
=======================================
  Hits         4599     4599           
  Misses        472      472           
  Partials      269      269           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@janosh janosh merged commit 3796fc8 into main Mar 27, 2025
8 of 9 checks passed
@janosh janosh deleted the uv-run-example-scripts branch March 27, 2025 20:57
janosh added a commit that referenced this pull request Mar 28, 2025
* mv examples/dataset_exploration/* examples/

* use faster uv run to test example scripts in CI

* fix find-example-scripts

* try uv run --with-editable

* add python-dotenv dep to assets/scripts/track_pymatviz_citations.py

* skip umap example for now
janosh added a commit that referenced this pull request Mar 28, 2025
* mv examples/dataset_exploration/* examples/

* use faster uv run to test example scripts in CI

* fix find-example-scripts

* try uv run --with-editable

* add python-dotenv dep to assets/scripts/track_pymatviz_citations.py

* skip umap example for now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration testing Test all the things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant