Commit ac6e47ab authored by okhin's avatar okhin
Browse files

Let's try this way

parent 239f5770
Pipeline #166 failed with stage
in 18 minutes and 6 seconds
......@@ -16,7 +16,7 @@ commands =
cp {toxinidir}/src/memopol/tests/ {toxinidir}/src/memopol/
py.test src/
createdb -U memopol_test -p 5433 $CI_BUILD_REF_NAME
bash -c 'createdb -U memopol_test -p 5433 $CI_BUILD_REF_NAME'
memopol migrate
bash -c 'cat src/representatives/contrib/francedata/tests/representatives_input.json | francedata_import_representatives'
bash -c 'cat src/representatives/contrib/parltrack/tests/representatives_fixture.json | parltrack_import_representatives'
......@@ -25,7 +25,7 @@ commands =
bash -c 'cat src/representatives_votes/contrib/francedata/tests/votes_input.json | francedata_import_votes'
bash -c 'cat src/representatives_votes/contrib/parltrack/tests/dossiers_fixture.json | parltrack_import_dossiers'
bash -c 'cat src/representatives_votes/contrib/parltrack/tests/votes_fixture.json | parltrack_import_votes'
dropdb -U memopol_test -p 5433 $CI_BUILD_REF_NAME
bash -c 'dropdb -U memopol_test -p 5433 $CI_BUILD_REF_NAME'
whitelist_externals =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment