Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dccXMLJSONConv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DigitalDynamicMeasurement
dccXMLJSONConv
Commits
3168bbb9
Commit
3168bbb9
authored
5 months ago
by
Benedikt
Browse files
Options
Downloads
Patches
Plain Diff
added . dev dependecies to cd-ci pipline
parent
d1987f46
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#50503
failed
5 months ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-4
7 additions, 4 deletions
.gitlab-ci.yml
with
7 additions
and
4 deletions
.gitlab-ci.yml
+
7
−
4
View file @
3168bbb9
image
:
python:3.10
#
o
r python:3.11 if
need
ed
image
:
python:3.10
#
O
r python:3.11 if
requir
ed
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]
#
I
ns
tall test dependencies
-
source venv/bin/activate
#
E
ns
ure 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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment