Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
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
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
78ac93c1
Commit
78ac93c1
authored
4 years ago
by
Markus Holzer
Browse files
Options
Downloads
Plain Diff
Merge branch 'junit' into 'master'
Display pytest results in Gitlab See merge request
pycodegen/pystencils!205
parents
e720af7a
6504e018
No related branches found
No related tags found
1 merge request
!205
Display pytest results in Gitlab
Pipeline
#29616
passed
4 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+21
-6
21 additions, 6 deletions
.gitlab-ci.yml
with
21 additions
and
6 deletions
.gitlab-ci.yml
+
21
−
6
View file @
78ac93c1
...
...
@@ -19,7 +19,8 @@ tests-and-coverage:
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
mkdir public
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun" --html test-report/index.html
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun" --html test-report/index.html --junitxml=report.xml
-
python3 -m coverage xml
tags
:
-
docker
-
cuda11
...
...
@@ -29,6 +30,9 @@ tests-and-coverage:
paths
:
-
coverage_report
-
test-report
reports
:
cobertura
:
coverage.xml
junit
:
report.xml
# Nightly test - runs "long run" jobs only
test-longrun
:
...
...
@@ -41,15 +45,18 @@ test-longrun:
-
export NUM_CORES=$(nproc --all)
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. --html test-report/index.html
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. --html test-report/index.html
--junitxml=report.xml
tags
:
-
docker
-
cuda11
-
AVX
artifacts
:
when
:
always
paths
:
-
coverage_report
-
test-report
reports
:
junit
:
report.xml
# Minimal tests in windows environment
minimal-windows
:
...
...
@@ -77,11 +84,15 @@ ubuntu:
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
sed -i 's/--doctest-modules //g' pytest.ini
-
pytest-3 -v -m "not longrun"
-
pytest-3 -v -m "not longrun"
--junitxml=report.xml
tags
:
-
docker
-
cuda11
-
AVX
artifacts
:
when
:
always
reports
:
junit
:
report.xml
minimal-conda
:
stage
:
test
...
...
@@ -136,11 +147,11 @@ pycodegen-integration:
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
cd pystencils
-
py.test -v -n $NUM_CORES .
-
py.test -v -n $NUM_CORES
--junitxml=report.xml
.
-
cd ../lbmpy
-
py.test -v -n $NUM_CORES .
-
py.test -v -n $NUM_CORES
--junitxml=report.xml
.
-
cd ../pygrandchem
-
py.test -v -n $NUM_CORES .
-
py.test -v -n $NUM_CORES
--junitxml=report.xml
.
-
cd ../walberla/build/
-
make CodegenJacobiCPU CodegenJacobiGPU CodegenPoissonCPU CodegenPoissonGPU MicroBenchmarkGpuLbm LbCodeGenerationExample UniformGridBenchmarkGPU_trt UniformGridBenchmarkGPU_entropic_kbc_n4 FluctuatingMRT
-
cd apps/benchmarks/UniformGridGPU
...
...
@@ -151,6 +162,10 @@ pycodegen-integration:
-
docker
-
cuda11
-
AVX
artifacts
:
when
:
always
reports
:
junit
:
"
*/report.xml"
# -------------------- Linter & Documentation --------------------------------------------------------------------------
...
...
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