-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests #1
Comments
We'll also need testing data. Probably easiest to generate simulated data as part of the test suite. |
Hi All, I'm not much used to GitHub workflows... My suspicion is that the easiest thing to do would be to have a Sincerely, Greg Gregory R. Sivakoff On 2015-09-28 10:24 AM, Eric Koch wrote:
|
Travis will essentially do the same thing (and it's already automated). But if we need more flexibility, I agree that testing on AWS would be the way to go. |
The problem I see with Travis is that it spins its own VMs on a build trigger (like a commit). Since this project explicitly depends on CASA, naively this means pulling it over each time. This will probably fail on Travis and may piss off the people hosting the CASA images (NRAO). I think this might be a case where simple is better: build a test suite and run it manually before making major commits. @astrilet suggests that you could build a docker image with CASA, host it on dockerhub, and cache the image on CircleCI. He likes this because there is a VM that will persist a little while. He also thinks it might work to cache CASA directly on CircleCI. TravisCI has a cache service but only for private repos. |
Ah, that sounds nicer. I have docker builds mostly ready so I'll check this out soon. |
Once we have the basic workflow going, we need some tests of the code.
Two options
Once tests are in place, committing directly to this repo will be disabled and work will be done on our own forks. To make changes here, all changes will have to pass the tests.
The text was updated successfully, but these errors were encountered: