mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
b70680e950
commit
fb173a4041
@@ -1,3 +1,9 @@
|
|||||||
|
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
|
image: python:3.14.0
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
@@ -11,8 +17,17 @@ setup_environment:
|
|||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- echo "Dependencies installed successfully."
|
- echo "Dependencies installed successfully."
|
||||||
|
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
- feature/ci-pipeline-s1-09a-1 # You can add more branches if needed
|
||||||
|
|
||||||
test_app:
|
test_app:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- echo "Running V2D Framework basic test..."
|
- echo "Running V2D Framework basic test..."
|
||||||
- python -m unittest discover || echo "No tests found."
|
- python -m unittest discover || echo "No tests found."
|
||||||
|
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
- feature/ci-pipeline-s1-09a-1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user