Files
video2document/.gitlab-ci.yml
T
Aarthi Manivannan, Premanathan Aarthi Manivannan bd7942f9ce Update .gitlab-ci.yml file
2025-11-13 12:30:08 +01:00

34 lines
691 B
YAML

workflow:
rules:
# Run the pipeline for merge requests or when committing to a branch
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH
image: python:3.14.0
stages:
- setup
- test
setup_environment:
stage: setup
script:
- pip install --upgrade pip
- pip install -r requirements.txt
- echo "Dependencies installed successfully."
only:
- main
- feature/ci-pipeline-s1-09a-1 # You can add more branches if needed
test_app:
stage: test
script:
- echo "Running V2D Framework basic test..."
- python -m unittest discover
only:
- main
- feature/ci-pipeline-s1-09a-1