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

ci: Improvements to CI #7

Merged
merged 1 commit into from
Feb 20, 2024
Merged

ci: Improvements to CI #7

merged 1 commit into from
Feb 20, 2024

Conversation

dashmug
Copy link
Owner

@dashmug dashmug commented Feb 20, 2024

No description provided.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Type: Enhancement

PR Summary: This pull request introduces several enhancements to the Continuous Integration (CI) workflow. It reorganizes the CI jobs by separating shell script checks and Dockerfile validation into their own distinct jobs, streamlines the Python job by removing shell script checks from it, and adds a new step to verify if the requirements.txt file is up to date with the project's dependencies. Additionally, it simplifies the Makefile by removing the GROUP_ID variable from docker commands and adjusts the clean-notebooks target to support deeper nested Jupyter notebooks. Lastly, it removes the GROUP_ID build argument from the Docker Compose configuration.

Decision: Comment

📝 Type: 'Enhancement' - not supported yet.
  • Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
📝 Complexity: the changes are too large or complex for Sourcery to approve.
  • Unsupported files: the diff contains files that Sourcery does not currently support during reviews.

General suggestions:

  • Ensure that the removal of GROUP_ID from Docker-related commands does not introduce permission issues, especially when dealing with volume mounts between the host and containers.
  • Consider adding a step to automatically update and commit the requirements.txt file if it is found to be out of date during the CI process. This would prevent CI failures due to out-of-date dependencies.
  • Verify that the new glob pattern used in the clean-notebooks target correctly identifies and cleans all intended Jupyter notebooks within the project, including those in deeply nested directories.

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@dashmug dashmug force-pushed the improve-ci branch 2 times, most recently from faa8ea6 to ac77c2f Compare February 20, 2024 05:30
@dashmug dashmug merged commit 9b241d4 into main Feb 20, 2024
6 checks passed
@dashmug dashmug deleted the improve-ci branch February 20, 2024 05:37
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.

None yet

1 participant