github test actions expectations
Closed this issue · 2 comments
myngpog commented
hi im wondering if we only need to test whether our docker stuff builds successfully with github actions. do we need to test whether or not our db is loaded?
adamzterenyi commented
Your database will have to start up because the action has to try and load data into it. However, it will only start up locally for GitHub. If you get your ports working for your development environment on your own computer (when you only run $ docker-compose up --build
), this should work seamlessly. Next, you'll need to run your data insertion file on the test file you've given GitHub actions, which is just like calling a .sh
file. I hope I could answer your question.
myngpog commented
yeah it clarified things for me , thanks!