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

Miscellaneous CI updates #156

Merged
merged 5 commits into from
Jan 15, 2025
Merged

Miscellaneous CI updates #156

merged 5 commits into from
Jan 15, 2025

Conversation

khaeru
Copy link
Owner

@khaeru khaeru commented Jan 15, 2025

PR checklist

  • Checks all ✅
  • Update documentation N/A; CI changes only
  • Update doc/whatsnew.rst

- Set up python with astral-sh/setup-uv instead of actions/setup-python.
- Add --durations=20 -ra to pytest options.
- Drop CODECOV_TOKEN.
@khaeru khaeru added the enh New feature or request label Jan 15, 2025
@khaeru khaeru self-assigned this Jan 15, 2025
- mypy v1.11.1 → v1.14.1
  - Use config suggested at python/mypy#13916
- ruff v0.5.7 → v0.9.1
  - Format 5 files.
Switch build backend to hatchling.
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.85%. Comparing base (2cae4bb) to head (d3d4215).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #156   +/-   ##
=======================================
  Coverage   99.85%   99.85%           
=======================================
  Files          52       52           
  Lines        4708     4708           
=======================================
  Hits         4701     4701           
  Misses          7        7           
Files with missing lines Coverage Δ
genno/config.py 100.00% <100.00%> (ø)
genno/core/quantity.py 100.00% <ø> (ø)
genno/core/sparsedataarray.py 100.00% <100.00%> (ø)
genno/testing/__init__.py 100.00% <100.00%> (ø)
genno/tests/core/test_exceptions.py 100.00% <ø> (ø)

Avoid uv resolving to 0.53 on Python 3.10–3.12.
@khaeru khaeru merged commit 765404e into main Jan 15, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant