Skip to content
Snippets Groups Projects
Commit 52c89904 authored by Michele Chiari's avatar Michele Chiari
Browse files

Update .gitlab-ci.yml

parent 2c122bd4
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ run-functional-tests:
script:
# Tests assume port 8080, while the Dockerfile CMD runs the server on port 80.
# Thus, we need to override the command so that the server is run on port 8080.
- docker run --name $TESTS_CONTAINER_NAME -d $TMP_IMAGE uvicorn --port 8080 --host 0.0.0.0 --interface wsgi mc_openapi.app_config:app
- docker run --name $TESTS_CONTAINER_NAME -d -e "UVICORN_PORT=8080" $TMP_IMAGE
# Install everything required for the tests.
- docker exec -i $TESTS_CONTAINER_NAME /bin/bash -c "pip install -r dev-requirements.txt"
# Run the tests.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment