Skip to content
Snippets Groups Projects
Commit 3168bbb9 authored by Benedikt's avatar Benedikt
Browse files

added . dev dependecies to cd-ci pipline

parent d1987f46
Branches
No related tags found
No related merge requests found
Pipeline #50503 failed
image: python:3.10 # or python:3.11 if needed image: python:3.10 # Or python:3.11 if required
stages: stages:
- test - test
...@@ -18,24 +18,27 @@ cache: ...@@ -18,24 +18,27 @@ cache:
before_script: before_script:
- python -m venv venv - python -m venv venv
- source venv/bin/activate - source venv/bin/activate
- pip config set global.proxy $HTTP_PROXY # Ensure pip respects the proxy
- pip install -U pip setuptools wheel - pip install -U pip setuptools wheel
- pip install -e .[dev] # Ensure pytest and dev dependencies are installed
- echo "✅ Virtual environment activated and dependencies installed"
test_default: test_default:
stage: test stage: test
script: script:
- pip install .[dev] # Install test dependencies - source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report.xml --cov=dccXMLJSONConv - pytest --junitxml=report.xml --cov=dccXMLJSONConv
test_web: test_web:
stage: test stage: test
script: script:
- pip install .[web] # Install Web API dependencies - source venv/bin/activate # Ensure venv is active
- pip install -e .[web] # Install Web API dependencies
- pytest --junitxml=report_web.xml --cov=dccXMLJSONConv - pytest --junitxml=report_web.xml --cov=dccXMLJSONConv
build: build:
stage: build stage: build
script: script:
- source venv/bin/activate # Ensure venv is active
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
artifacts: artifacts:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment