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: trigger slow downstream libraries tests suites before release #1321

Merged
merged 5 commits into from
Nov 7, 2024

Conversation

EdAbati
Copy link
Collaborator

@EdAbati EdAbati commented Nov 4, 2024

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below.

EDIT: I changed my mind 😄 I think the "slow tests" and the "publish" workflows should all run in the bump-version PR. So we can see if everything went well before merging.

The flow would be:

  1. bump version
  2. PR with new tag
  3. Publish workflow starts along side all other workflows
  4. The publish workflow triggers the "slow tests" workflow and wait for completion
  5. Library published
  6. merge release PR to main and celebration

The slow tests are triggered when a tag is pushed to a branch that is not main. Since "Bump version" creates a tag on a bump-version branch, this should also trigger the slow tests when the bump version PR is made.
I also changed the "Publish Python" workflow to be triggered on tag pushes on main.

The flow would be:
1. bump version
2. PR with new tag
3. slow tests running along side all tests
4. merge PR to main
5. Publish workflow is triggered
6. Library published and celebrations

Currently the "publish" workflow is triggered in the "bump version" PR though. And you can see the results of the workflow before merging to main. Is this something that we need to keep?

Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

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

Thanks @EdAbati ! I have a tiny comment, everything else looks good to me👌

Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

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

Thanks @EdAbati

NarwhalDolphinGIF

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

thanks @EdAbati and @FBruzzesi !

cool, let's see if this works - if we manage to get into Plotly then we should include that too, so it's good that we're setting this up already

@MarcoGorelli MarcoGorelli merged commit 1f3f460 into narwhals-dev:main Nov 7, 2024
22 checks passed
@EdAbati EdAbati deleted the adjust-ci branch November 7, 2024 12:34
MarcoGorelli pushed a commit to MarcoGorelli/narwhals that referenced this pull request Nov 7, 2024
…rwhals-dev#1321)



Co-authored-by: Francesco Bruzzesi <[email protected]>

---------

Co-authored-by: Francesco Bruzzesi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants