lorenzo-rovigatti / oxDNA

A new version of the code to simulate the oxDNA/oxRNA models, now equipped with Python bindings
https://dna.physics.ox.ac.uk/
GNU General Public License v3.0
43 stars 28 forks source link

Initial Implementation of Continous Integration #3

Closed debeshmandal closed 4 years ago

debeshmandal commented 4 years ago

I have implemented a simple set of GitHub Actions to automatically build and run some scripts each time there are updates to the code.

Hopefully, the 2 different jobs should run as part of this PR (if they don't then they should in a future PR)

I am very open to any suggestions or changes in the testing structure.

Summary

Outlook

I hope that this demonstrates some of the basics of doing CI (it is quite simple and has a lot of customisability). Here are my plans for the next steps:

debeshmandal commented 4 years ago

Here is an example of what the GitHub Actions look like:

https://github.com/debeshmandal/oxDNA/actions

lorenzo-rovigatti commented 4 years ago

Thanks a lot for the PR Debesh. I don't know much about actions but I'll try to understand them better asap. Quick question: can't we use make test_quick (which is a target that runs all the quick_input files) instead of the custom bash script you wrote?

debeshmandal commented 4 years ago

Sorry, I did not realise this - I have changed it to use make_test now - and will shortly remove the shell script