mikeizbicki/cmc-csci143

github test actions expectations

Closed this issue · 2 comments

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?

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.

yeah it clarified things for me , thanks!