-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/add cli test #38
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
ac47c32
to
86f7fed
Compare
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.
Quelques remarques mais dans l'ensemble c'est un super travail qui va impacter l'ensemble du projet !
Hi @jmkerloch !
As we said yesterday, when the entrepot will be available, we will use it ! |
a5438f2
to
c443444
Compare
@lgrd I updated the test to use URLs instead of .sql in the repository. |
feat(test): add replace of {src_dir} in input .json file feat(test): use {src_dir} to define path to bdtopo .sql conversion file feat(test): update postgis service name fix(test): insert data in ign database instead of pivot database feat(test): refactor and remove update_database_json_host function feat(test): refactor sqlconvert to cli name sql2pivot feat(test): refactor to drop input dumps after test and add patch in test function
feat(test): test with 172.17.0.1 postgres host feat(test): call pytest with python feat(test): test with GitHub action for coverage
Co-authored-by: Julien <[email protected]>
7457139
to
448442e
Compare
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.
Hello, very good ! Thanks for the doc which is very clear. :) I've tested it and it worked so let's go ! ;)
related #31
related #15
r2gg package
ArgumentParser
forparse_args()
use (needed so we can mockArgumentParser
in test)test data
tests
tests/dev/docker-compose.dev.yml
for postgis test databasesetup.cfg
tests/config/bdtopo_base.json
andtests/config/pivot_base.json
tests/config/sql2pivot.json
tests/test_cli.py
with pytest:ArgumentParser
to define used configuration file