Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
iRMB
VirtualFluids
Commits
00c95cfa
Commit
00c95cfa
authored
4 years ago
by
Sven Marcus
Browse files
Options
Downloads
Patches
Plain Diff
Switch to building & installing wheel. VF unit tests without python
parent
58b579c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
Proper Python simulation tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-18
9 additions, 18 deletions
.gitlab-ci.yml
with
9 additions
and
18 deletions
.gitlab-ci.yml
+
9
−
18
View file @
00c95cfa
...
@@ -15,21 +15,16 @@ gcc_9_python:
...
@@ -15,21 +15,16 @@ gcc_9_python:
stage
:
build
stage
:
build
cache
:
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
key
:
"
Python-GCC9-
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
paths
:
-
_sk
build
-
build
artifacts
:
artifacts
:
paths
:
paths
:
-
_skbuild/
-
dist/
-
Python/venv
before_script
:
-
python3 -m venv --system-site-packages Python/venv
-
source Python/venv/bin/activate
script
:
script
:
-
python3 setup.py
instal
l
-
python3 setup.py
bdist_whee
l
gcc_9
:
gcc_9
:
stage
:
build
stage
:
build
...
@@ -191,13 +186,13 @@ gcc_9_rebuild:
...
@@ -191,13 +186,13 @@ gcc_9_rebuild:
###############################################################################
###############################################################################
## Tests ##
## Tests ##
###############################################################################
###############################################################################
gcc_9_
python_
unit_tests
:
gcc_9_unit_tests
:
stage
:
test
stage
:
test
needs
:
[
"
gcc_9
_python
"
]
needs
:
[
"
gcc_9"
]
before_script
:
before_script
:
-
export VF_UNITTESTS=$(find
_sk
build -name basicsTests)
-
export VF_UNITTESTS=$(find build
_gcc9
-name basicsTests)
script
:
script
:
-
$VF_UNITTESTS
-
$VF_UNITTESTS
...
@@ -222,14 +217,10 @@ gcc_9_python_bindings_test:
...
@@ -222,14 +217,10 @@ gcc_9_python_bindings_test:
needs
:
[
"
gcc_9_python"
]
needs
:
[
"
gcc_9_python"
]
artifacts
:
when
:
on_failure
paths
:
-
output/mq/mq10000/
before_script
:
before_script
:
-
export PYTHONPATH="Python"
-
export PYTHONPATH="Python"
-
source Python/venv/bin/activate
-
export VF_WHEEL=$(find -f dist/*.whl)
-
pip3 install $VF_WHEEL
script
:
script
:
-
python3 -m unittest discover -s Python -v
-
python3 -m unittest discover -s Python -v
...
...
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