-
Notifications
You must be signed in to change notification settings - Fork 449
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
feat : Add docker-compose.yml #1043
base: develop
Are you sure you want to change the base?
Conversation
@isabelcosta should I also change github actions tests to run on docker? |
is that a good practice? @epicadk is that the reasoning? |
Haha yes it solves the problem of testing the same application you ship : ). |
@epicadk the build is failing , can you look into that please? |
Yes it's because the tests are failing. I'll have to change the github actions or add some env variables, which we can discuss in the next open session. |
Still trying to figure out the coverage. |
50207a1
to
591ade0
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1043 +/- ##
===========================================
- Coverage 94.94% 92.72% -2.23%
===========================================
Files 38 38
Lines 2058 2021 -37
===========================================
- Hits 1954 1874 -80
- Misses 104 147 +43
|
Makefile
Outdated
|
||
|
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only 1 line in the end right 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@epicadk why we need to run tests using docker? Is there any specific reason to do so?
I have some more questions below
Because we want to run the tests on postgres. Made the requested changes. |
Description
Create
docker-compose.yml
and added postgresql as a service so that tests will now run on postgresql and not sqlliteFixes #1041
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Ran the commands locally on windows 10
Checklist:
Code/Quality Assurance Only