Update .gitlab-ci.yml file

This commit is contained in:
Ali Amr Ali Taha Elnwegy 2024-03-01 10:57:34 +01:00
parent 5fd657b7a3
commit 9fc700d1ef

View File

@ -22,14 +22,20 @@ stages: # List of stages for jobs, and their order of execution
build-job: # This job runs in the build stage, which runs first.
stage: build
image: python:3.11-alpine3.19
script:
- echo "Installing dependencies..."
- pip install setuptools
- pip install -r requirments.txt
- echo "Compiling the code..."
- python -m build
- echo "Compile complete."
documentation-job:
stage: documentation
image: python:3.11-alpine3.19
script:
- pip install pydoctor
- echo "Generating Documentation..."
- python -m pydoctor
- echo "Documentation Generated."