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

GitHub Actions pytest workflow now uses uv instead of nox #1370

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

tleonhardt
Copy link
Member

@tleonhardt tleonhardt commented Nov 5, 2024

GitHub Actions pytest build workflow now uses uv instead of nox.

Also:

  • Removed noxfile.py
  • Remove dev/test dependency on nox

NOTE: This reduced the average build time from a little over 3 minutes to a little over 2 minutes for running all of the tests. There is still a lot of room for optimizing the build time including:

  • Install Python from uv instead of the GitHubActions
    • This failed on LInux due to lack of readline. We could fix that by also installing gnureadline on that platform for test runs.
  • Use uv caching to store uv's cache across workflow runs

@tleonhardt tleonhardt merged commit c4a8d0e into master Nov 5, 2024
46 checks passed
@tleonhardt tleonhardt deleted the uv_pytest branch November 5, 2024 13:29
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.

2 participants