Install always python lib in python2 for unit tests
This commit is contained in:
parent
4a880805cc
commit
0164b07b92
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -38,7 +38,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Install required python libs
|
- name: Install required python libs
|
||||||
run: docker-compose -f docker-compose.yaml exec -T postgres-server bash -c "cd /dataservices-api/server/ && pip install -U -r ./lib/python/cartodb_services/requirements.txt && pip install -U ./lib/python/cartodb_services"
|
run: docker-compose -f docker-compose.yaml exec -T postgres-server bash -c "cd /dataservices-api/server/ && pip install -U -r ./lib/python/cartodb_services/requirements.txt && pip install -U ./lib/python/cartodb_services"
|
||||||
if: env.PG_VERSION == 10
|
|
||||||
|
|
||||||
- name: Run python library tests
|
- name: Run python library tests
|
||||||
run: docker-compose -f docker-compose.yaml exec -T postgres-server bash -c "cd /dataservices-api/server/ && MAPBOX_API_KEY=$MAPBOX_API_KEY TOMTOM_API_KEY=$TOMTOM_API_KEY GEOCODIO_API_KEY=$GEOCODIO_API_KEY nosetests lib/python/cartodb_services/test"
|
run: docker-compose -f docker-compose.yaml exec -T postgres-server bash -c "cd /dataservices-api/server/ && MAPBOX_API_KEY=$MAPBOX_API_KEY TOMTOM_API_KEY=$TOMTOM_API_KEY GEOCODIO_API_KEY=$GEOCODIO_API_KEY nosetests lib/python/cartodb_services/test"
|
||||||
|
Loading…
Reference in New Issue
Block a user