radian-software / apheleia

🌷 Run code formatter on buffer contents without moving point, using RCS patches and dynamic programming.
MIT License
580 stars 81 forks source link

Run all formatter tests periodically #320

Open raxod502 opened 2 months ago

raxod502 commented 2 months ago

Sometimes e.g. https://github.com/radian-software/apheleia/issues/312 there will be upstream changes that break a formatter test, and we only find out the next time somebody touches it. A nice way to get ahead of these things without hurting development velocity too much would be to make a simple status dashboard which could be populated with the output of running the full test suite of all formatters, and seeing which ones worked. Such a test could be run monthly on Github Actions, or similar.

We'd need a bit of refactoring to make it possible to run the test suite and get structured results back even if some tests failed, and even if some formatter installations failed during the Docker build.