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: ...@@ -47,13 +47,12 @@ build:
--output type=image,name=${DOCKER_IMAGE_NAME}:${DOCKER_TAG},push=true --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 ## Just an example for the testing stage, if the test returns anything other than 0, pipeline stops
test: #test:
stage: test # stage: test
image: ${DOCKER_IMAGE_NAME}:${DOCKER_TAG} # image: ${DOCKER_IMAGE_NAME}:${DOCKER_TAG}
script: # script:
- pip install -e .[test] # - pip install --disable-pip-version-check -e .[test]
- pytest -v # - pytest -v
- echo "Test run succesfully!"
## Deploy latest image to the production ## Deploy latest image to the production
deploy: 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