actions icon indicating copy to clipboard operation
actions copied to clipboard

Consider using Job Summaries

Open malcolmbarrett opened this issue 2 years ago • 2 comments

(Sorry to delete the FR template, but this seems like a self-explanatory suggestion!)

GitHub Actions recently added Job Summaries, which might be useful for the workflows here, particularly for package testing.

https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/

malcolmbarrett avatar May 23 '22 18:05 malcolmbarrett

Related: https://github.com/r-lib/testthat/issues/1621

Bisaloo avatar Aug 11 '22 14:08 Bisaloo

PoC here: https://github.com/r-lib/testthat/pull/1635

gaborcsardi avatar Aug 12 '22 10:08 gaborcsardi

Technically this is blocked here, because we need some output from the testing tool (i.e. testthat) that we can use to generate the the job summary.

E.g. testthat could write the test results into a file, and then we could have an action or other code to format that as a job summary. Or testthat could also create the markdown output directly, as in the PoC above.

gaborcsardi avatar May 09 '24 08:05 gaborcsardi