-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
run tests against MySQL and PostgreSQL DB engines #129
Conversation
Codecov Report
@@ Coverage Diff @@
## master #129 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 18
Lines 329 329
Branches 34 34
=========================================
Hits 329 329 Continue to review full report at Codecov.
|
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.
Thanks a lot for your great work!
I have some noob questions about github-actions 🙂
@@ -55,3 +91,7 @@ jobs: | |||
uses: codecov/codecov-action@v1 | |||
with: | |||
file: ./coverage.xml | |||
|
|||
- name: Stop docker-compose services |
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.
Do we really need to stop them? Or can we just end the build?
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.
I am not 100% sure, so I will double-check it, but personally I think it's good practice to clean resources explicitly
fc35af1
to
93c1272
Compare
Closes: #107
Things nice to have (now or in future PRs):
.env
file indjango_test_app/django_test_app/settings.py
(usually, I'm using django-environ for this), to make local development easier. Alternatively, we can add some service todocker-compose.yml
that will make local development even easier.network: host
instead ofports
binding, so it will be easier to run services locally (this will probably require to usedocker-compose.ci.yml
for CI anddocker-compose.override.yml
for local development)wheel
to avoid using legacysetup.py install
when installing additional dependencies