Enable integration tests in CI

This commit is contained in:
Denis Makogon
2017-07-21 19:53:05 +03:00
committed by James Jeffrey
parent 31e14843fe
commit bcd79ce4a6
2 changed files with 2 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ integration_tests:
- go build -o functions-alpine
- docker build -t funcy/functions:latest .
# - make docker-test-run-with-bolt
- make docker-test-run-with-sqlite3
- DOCKER_LOCATION=container_ip make docker-test-run-with-sqlite3
# - make docker-test-run-with-postgres
# - make docker-test-run-with-redis

View File

@@ -50,6 +50,7 @@ docker-test-run-with-postgres:
./api_test.sh postgres
ci-docker-test-run-with-sqlite3:
cd ${CURDIR}/test/fn-api-tests/ && docker build -t funcy/fn-api-tester .; cd ${CURDIR}
docker run --rm -i -v ${CURDIR}:/go/src/gitlab-odx.oracle.com/odx/functions -w /go/src/gitlab-odx.oracle.com/odx/functions -e "datastore=sqlite3" funcy/fn-api-tester
docker-test: