very_good_coverage
very_good_coverage copied to clipboard
Storing workflow artifacts
Is your feature request related to a problem? Please describe. Feature to allow storage of workflow artifacts. Here are the ones of interest:
- Code coverage artifacts
- failures directories from golden tests
Describe the solution you'd like Add an optional parameter that when true, will run an extra step to upload artifacts using https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#uploading-build-and-test-artifacts.
Optional would be to allow client to specify a list of names and paths.
Describe alternatives you've considered
For golden failures, I am currently running an extra job if the very_good github action fails, which runs flutter test and uploads the artifacts. This extra run is blind to why the very_good action fails, so it could be a wasteful run.
Additional context Add any other context or screenshots about the feature request here.
May be related https://github.com/VeryGoodOpenSource/very_good_workflows/issues/42
I would also like this feature. Now I had to copy paste the workflow implementation and manually add codecov upload in the end as a last step as suggested by @ Azeem over at Stack Overflow
@joelbrostrom would you be interested in working on a Pull Request? 🙌
Sorry, I don't have the time or knowledge.