pandas-dev / pandas-stubs

Public type stubs for pandas
BSD 3-Clause "New" or "Revised" License
230 stars 123 forks source link

Modify optional workflows to be triggered by comments #977

Closed loicdiridollou closed 3 weeks ago

loicdiridollou commented 1 month ago

This PR tries to modify how we run nightly/strict workflows to avoid having to run them systematically on merge to main but instead by able to do so by commenting on the PR with comments like /pandas_nightly, mypy_nightly or /pyright_strict.

The process would go as such:

loicdiridollou commented 1 month ago

Right now there is a bit of code duplication in the yaml file but open to clean up, I will add a readme file to guide the operations.

Dr-Irv commented 1 month ago

I'm going to let @twoertwein review, approve and merge this, but one thing that I see is that you removed the optional runs that occur during a merge. I think those should remain, because otherwise, as someone doing many of the merges and getting those reports, I won't see what's failing on a regular basis and know what needs to be fixed.

loicdiridollou commented 1 month ago

I'm going to let @twoertwein review, approve and merge this, but one thing that I see is that you removed the optional runs that occur during a merge. I think those should remain, because otherwise, as someone doing many of the merges and getting those reports, I won't see what's failing on a regular basis and know what needs to be fixed.

I misunderstood then, I thought the idea was to replace as those optionals were put in place as a workaround. I will restore them so that they get triggered at every merge, sorry for that.