8000 workflow(ci) - seperate steps by Adi3g · Pull Request #55 · strmio/storm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

workflow(ci) - seperate steps #55

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

Closed
wants to merge 2 commits into from
Closed

workflow(ci) - seperate steps #55

wants to merge 2 commits into from

Conversation

Adi3g
Copy link
Collaborator
@Adi3g Adi3g commented May 11, 2025

✅ Storm PR Checklist

Please confirm that your PR satisfies the following requirements:

  • The PR title and commit messages follow Conventional Commits
  • All new and existing tests pass (make test, make lint, etc.)
  • Documentation has been added or updated
  • All affected packages/modules are updated correctly
  • Code respects Storm DDD architecture and DI patterns

📦 Type of Change

  • 🐞 Bugfix
  • ✨ Feature
  • 🎨 Code style update (formatting, naming conventions)
  • ♻️ Refactor (no functional or public API changes)
  • 📦 Build-related changes
  • 🧪 CI/CD-related changes
  • 📚 Documentation
  • ⚙️ Other — Please describe:

🔍 Current Behavior

Issue Number: N/A


🚀 New Behavior


⚠️ Breaking Changes

  • Yes
  • No

📝 Additional Information

@Adi3g Adi3g requested a review from Copilot May 11, 2025 12:13
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the CI workflow to separate concerns into distinct jobs, enhancing clarity and modularity.

  • Introduces a new "setup" job to output the Python version.
  • Creates a dedicated "install" job for caching purposes.
  • Adds a "test" job that sets up Python and runs dependency installation and tests.
Comments suppressed due to low confidence (1)

.github/workflows/ci.yml:41

  • [nitpick] The caching step is placed in a separate job from dependency installation, which results in duplicated checkout and installation steps. Consider merging caching and dependency installation into a single job to streamline the workflow and improve efficiency.
      - name: Cache virtualenv or PDM cache (optional)

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
Copy link
Preview
Copilot AI May 11, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider using the output from the 'setup' job (e.g., ${{ needs.setup.outputs.python-version }}) to configure the Python version dynamically instead of hardcoding '3.13', ensuring consistency across the workflow.

Suggested change
python-version: "3.13"
python-version: ${{ needs.setup.outputs.python-version }}

Copilot uses AI. Check for mistakes.

@Adi3g Adi3g closed this May 11, 2025
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
0