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] - chore: add tests in PR CI #71

Merged
merged 9 commits into from
Nov 3, 2024
Merged

[.github] - chore: add tests in PR CI #71

merged 9 commits into from
Nov 3, 2024

Conversation

JulesBelveze
Copy link
Owner

@JulesBelveze JulesBelveze commented Nov 2, 2024

This PR include:

  • Migrating from poetry to uv
  • Add caching for uv dependencies to improve build speed
  • Split CI workflow into linting and testing jobs to better organize pipeline

Jules and others added 9 commits November 2, 2024 13:18
…esting

 - Rename workflow from 'Lint' to 'CI' to reflect extended responsibilities
 - Add caching for Poetry dependencies to improve build speed
 - Include type checking step for project code using mypy
 - Split CI workflow into linting and testing jobs to better organize pipeline
 - Add Poetry's binary directory to GITHUB_PATH to ensure subsequent steps can execute Poetry commands without requiring absolute paths
…aching in workflows

 - Replace manual Poetry installation with pipx for simplicity and reliability
 - Leverage setup-python's built-in caching for Poetry dependencies instead of a separate cache step
 - Type checking with mypy has been removed from the PR GitHub Actions workflow steps
…management

 - Replace the use of Poetry with uv in GitHub Actions workflows for various tasks like installing dependencies and publishing packages
 - Enable caching in the GitHub Actions for the uv setup to improve workflow efficiency
 - Modify commands for checking formatting, running lint, and running tests to use uv instead of Poetry
 - Update the PyPI publishing step to use uv with the new environment variable for the PyPI token configuration
 - Replace incorrect `--extras` option with the correct `--extra` flag for dependency installation in GitHub workflow files
 - Replace poetry with uv as the dependency management tool
 - Add steps to create virtual environment and sync dependencies with uv
 - Include the 'overrides' package to extend the functionality provided by decorators

[uv.lock] - refactor: update lock file with new and adjusted dependencies

 - New dependency 'overrides' with a pinned version added to the lock file
 - Marker for 'importlib-metadata' updated to reflect compatibility below Python 3.10 instead of 3.11
 - The 'overrides' package specified with its source, version, hash, and size details
@JulesBelveze JulesBelveze merged commit ee2fa67 into main Nov 3, 2024
1 of 2 checks passed
@JulesBelveze JulesBelveze deleted the ci/add-test branch November 3, 2024 09:45
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