Replies: 2 comments 3 replies
-
That could be done, although linting and formatting might need to be broken up into multiple steps because you can lint the dockerfile and shell scripts before building anything but to lint the main code base requires building the image first since ruff is installed at that point. I suppose our options are:
Both options have their pros and cons. Option 1 feels a little convoluted and option 2 could be inefficient if a lint step fails on the Dockerfile. Between both I probably lean more towards option 2 just to keep linting and formatting together but you could make a case that maybe all 3 things (dockerfile, shell and app) could be their own individual steps too. That seems ok too. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently in
ci.yml
, the "Test" step does quite a bit of stuff (inci:test
) before actually running tests:GitHub Action's log output is filled with info that's not really relevant if you just want to check what's going on with actual test runs. It would be nice if this was split into smaller steps such as:
Beta Was this translation helpful? Give feedback.
All reactions