atkinson / wagmi

An execution framework for systematic strategies
BSD 2-Clause "Simplified" License
10 stars 12 forks source link

CI #6

Closed atkinson closed 2 years ago

atkinson commented 2 years ago

something to run the build and test when someone submits a PR.

arnaudj commented 2 years ago

Will give it a try

arnaudj commented 2 years ago

My current plan for the next steps

For this issue: add a github action that runs docker-compose, followed by a simple health check (eg, ensure localhost:8080/wagmi is up and running). This would be a smoke test to validate django starts ok.

For unit tests (#5), we should be able to run tests from within the container. Eg with this pattern: https://docs.docker.com/language/java/run-tests/

(open to suggestions)

atkinson commented 2 years ago

That sounds good, Arnaud - whatever is simplest and has the least code.