Skip to content

Commit

Permalink
Generate metadata before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Torres committed Sep 29, 2017
1 parent a2957c9 commit 6203eb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension-perftest-record: extension
extension-autotest: extension
docker-compose run --rm bigmetadata nosetests observatory-extension/src/python/test/autotest.py

test: extension-perftest extension-autotest
test: meta extension-perftest extension-autotest

python:
docker-compose run --rm bigmetadata python
Expand Down Expand Up @@ -141,6 +141,10 @@ dump: test
# update the observatory-extension in our DB container
# Depends on having an observatory-extension folder linked
extension:
cd observatory-extension
git checkout master
git pull
cd ..
docker exec $$(docker-compose ps -q postgres) sh -c 'cd observatory-extension && make install'
docker-compose run --rm bigmetadata psql -c "DROP EXTENSION IF EXISTS observatory; CREATE EXTENSION observatory WITH VERSION 'dev';"

Expand Down

0 comments on commit 6203eb2

Please sign in to comment.