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
355b7393
Commit
355b7393
authored
2 years ago
by
Soeren Peters
Browse files
Options
Downloads
Patches
Plain Diff
Fix fieldcompare path. Install rich. Install python venv.
parent
b355a0b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!147
Add regression test with fieldcompare with corresponding CI job.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
regression-tests/driven_cavity_test.sh
+1
-1
1 addition, 1 deletion
regression-tests/driven_cavity_test.sh
regression-tests/regression-tests.sh
+1
-0
1 addition, 0 deletions
regression-tests/regression-tests.sh
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
0
View file @
355b7393
...
@@ -288,6 +288,7 @@ run-regression-tests:
...
@@ -288,6 +288,7 @@ run-regression-tests:
-
linux
-
linux
before_script
:
before_script
:
-
apt install python3.8-venv
-
chmod +x ./regression-tests/*
-
chmod +x ./regression-tests/*
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
regression-tests/driven_cavity_test.sh
+
1
−
1
View file @
355b7393
...
@@ -13,4 +13,4 @@ PATH_TO_DIR=output/DrivenCavity
...
@@ -13,4 +13,4 @@ PATH_TO_DIR=output/DrivenCavity
PATH_TO_REFERENCE_DIR
=
regression-tests/reference_data/regression_tests_gpu/DrivenCavity
PATH_TO_REFERENCE_DIR
=
regression-tests/reference_data/regression_tests_gpu/DrivenCavity
~/.local/bin/fieldcompare
dir
$PATH_TO_DIR
--reference
$PATH_TO_REFERENCE_DIR
--include-files
"*.vtu"
fieldcompare
dir
$PATH_TO_DIR
--reference
$PATH_TO_REFERENCE_DIR
--include-files
"*.vtu"
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
regression-tests/regression-tests.sh
+
1
−
0
View file @
355b7393
...
@@ -6,6 +6,7 @@ git clone https://github.com/irmb/test_data regression-tests/reference_data
...
@@ -6,6 +6,7 @@ git clone https://github.com/irmb/test_data regression-tests/reference_data
python3
-m
venv .venv
python3
-m
venv .venv
source
.venv/bin/activate
source
.venv/bin/activate
pip
install
rich
pip
install
git+https://github.com/soerenPeters/meshio@update-pyproject-version
pip
install
git+https://github.com/soerenPeters/meshio@update-pyproject-version
pip
install
git+https://gitlab.com/dglaeser/fieldcompare
pip
install
git+https://gitlab.com/dglaeser/fieldcompare
...
...
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