metanorma / pubid-core

BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Cannot see failed tests for dependent gems for pull requests #38

Open mico opened 10 months ago

mico commented 10 months ago

Tests are passing for pull requests, while dependent tests are actually failed. This might be a correct approach actually, sometimes I need to update dependent gems to make them pass. But I need to go to github "Actions" every time to see if they are passed. Is it the best solution we can have or there are better options?

ronaldtse commented 10 months ago

@andrew2net is the person to ask here. He has a similar workflow that has been refined over the years, and is one that we should likely adopt for pubid gems.

andrew2net commented 10 months ago

@mico In my workflow I install PR using rake install locally and test all dependent gems. If it needs to update any depended gems, I release all Relaton gems with new minor version.

To automatically release gem when GHA test passing use following workflow:

andrew2net commented 9 months ago

@mico I've created a bash script to run rspec in all relaton-* repos. You can adopt it for the Pubid project.