Skip to content
Snippets Groups Projects
Commit 0a782b02 authored by otmehtxy's avatar otmehtxy
Browse files

Trying (failing) to do testing stage, also OWASP

parent a44faaac
No related branches found
No related tags found
No related merge requests found
Pipeline #13651 failed
......@@ -47,13 +47,12 @@ build:
--output type=image,name=${DOCKER_IMAGE_NAME}:${DOCKER_TAG},push=true
## Just an example for the testing stage, if the test returns anything other than 0, pipeline stops
test:
stage: test
image: ${DOCKER_IMAGE_NAME}:${DOCKER_TAG}
script:
- pip install -e .[test]
- pytest -v
- echo "Test run succesfully!"
#test:
# stage: test
# image: ${DOCKER_IMAGE_NAME}:${DOCKER_TAG}
# script:
# - pip install --disable-pip-version-check -e .[test]
# - pytest -v
## Deploy latest image to the production
deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment