Closed jimmymathews closed 2 months ago
Still no CICD and mostly the test suite can be run by maintainer just before merging into main. The worst-offending slow tests are mostly removed, the whole process is closer to 5 minutes now, and tests can be individually cancelled or run in groups of tests related to just one module.
The full test suite now takes about 8 minutes, which is long enough to significantly slow down development.
Moreover, despite the "unit test" and "module test" labels, most of the tests are not actually unit tests. In writing tests we have freely availed ourselves of the full complexity of the datasets as presented by a live postgres image in the docker composition. This is great for test quality (production environment is simulated accurately) but these should not need to run frequently and should rarely fail.
For this issue, review all tests and separate into:
The integration tests (2) should be migrated to run as GitHub Actions (GA) when a PR is made or when commits are added to a PR. I believe GA supports more or less the entire docker-compose based test harness we currently have running locally on development machines.
Then the expected workflow going forward would be:
Resolving this issue will also relieve the Makefiles from a lot of their current responsibility, slimming them down considerably.