Open jbolda opened 3 years ago
yeah, we currently use progress bars to display activity to users, and these progress bars are not shown in CI. We should count stuff up and display it at the end of the command regardless I think. Probably an optional dump to a file at some point in the future.
I think most CI will set process.env.CI
, so maybe a conditional check for that and log additional details?
I think it's valid to print out some Results struct we maintain over the process with metadata and whatnot by default. the progress bars are progress indicators. Probably don't need to vary behavior based on CI for this
I've noted this in Github Actions, but I am assuming it applies to any of the CI systems. I would expect to see the number of pages generated for instance.
example: https://github.com/toastdotdev/toast/pull/33/checks?check_run_id=1230126634#step:13:14