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. build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
image: python:3.11-alpine3.19
script: script:
- echo "Installing dependencies..."
- pip install setuptools
- pip install -r requirments.txt
- echo "Compiling the code..." - echo "Compiling the code..."
- python -m build - python -m build
- echo "Compile complete." - echo "Compile complete."
documentation-job: documentation-job:
stage: documentation stage: documentation
image: python:3.11-alpine3.19
script: script:
- pip install pydoctor
- echo "Generating Documentation..." - echo "Generating Documentation..."
- python -m pydoctor - python -m pydoctor
- echo "Documentation Generated." - echo "Documentation Generated."