Update .gitlab-ci.yml file

This commit is contained in:
francois 2023-08-25 22:54:38 +00:00
parent 3a6b2ea08b
commit a42956ebfa

View file

@ -1,19 +1,9 @@
# .gitlab-ci.yml
stages:
- test
- dockerize
- deployment
test-cases:
stage: test
image: python:3-alpine
before_script:
- echo "54.39.52.63 git.jevalide.ca" > /etc/hosts
- pip install -r requirements.txt
script:
- pytest test.py
build-push-docker-image-job:
stage: dockerize
# Specify a Docker image to run the job in.