TheRenegadeCoder / sample-programs

Sample Programs in Every Programming Language
https://sampleprograms.io
MIT License
554 stars 564 forks source link

Test Suite Workflow is Inefficient #3954

Closed rzuckerm closed 3 weeks ago

rzuckerm commented 4 weeks ago

Problem

Whenever any sample program is added or modified, all of the tests run. This is not only an inefficient use of resources and time, it is also confusing for the user who doesn't know our workflow and is left with a blinding wall of text that they do not know how to interpret. For example, see the last 2 or 3 comments in #3953 .

Possible Solution

Only run the necessary tests based on what is in the PR:

This solution can run weekly in a cron schedule.