Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lbmpy
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
lbmpy
Commits
3e293a52
Commit
3e293a52
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/lbmpy!54
parents
d5045459
cbe771b2
No related branches found
No related tags found
1 merge request
!54
Display pytest results in Gitlab
Pipeline
#29617
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
+14
-3
14 additions, 3 deletions
.gitlab-ci.yml
with
14 additions
and
3 deletions
.gitlab-ci.yml
+
14
−
3
View file @
3e293a52
...
@@ -22,7 +22,8 @@ tests-and-coverage:
...
@@ -22,7 +22,8 @@ tests-and-coverage:
-
pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
env
-
env
-
pip list
-
pip list
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun"
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun" --junitxml=report.xml
-
python3 -m coverage xml
tags
:
tags
:
-
docker
-
docker
-
cuda11
-
cuda11
...
@@ -31,6 +32,9 @@ tests-and-coverage:
...
@@ -31,6 +32,9 @@ tests-and-coverage:
when
:
always
when
:
always
paths
:
paths
:
-
coverage_report
-
coverage_report
reports
:
cobertura
:
coverage.xml
junit
:
report.xml
# Nightly test - runs "long run" jobs only
# Nightly test - runs "long run" jobs only
test-longrun
:
test-longrun
:
...
@@ -46,14 +50,17 @@ test-longrun:
...
@@ -46,14 +50,17 @@ test-longrun:
-
mkdir -p ~/.config/matplotlib
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=.
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=.
--junitxml=report.xml
tags
:
tags
:
-
docker
-
docker
-
cuda11
-
cuda11
-
AVX
-
AVX
artifacts
:
artifacts
:
when
:
always
paths
:
paths
:
-
coverage_report
-
coverage_report
reports
:
junit
:
report.xml
# Minimal tests in windows environment
# Minimal tests in windows environment
minimal-windows
:
minimal-windows
:
...
@@ -84,10 +91,14 @@ ubuntu:
...
@@ -84,10 +91,14 @@ ubuntu:
-
pip3 install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
pip3 install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
env
-
env
-
pip3 list
-
pip3 list
-
pytest-3 -v -m "not longrun"
-
pytest-3 -v -m "not longrun"
--junitxml=report.xml
tags
:
tags
:
-
docker
-
docker
-
cuda11
-
cuda11
artifacts
:
when
:
always
reports
:
junit
:
report.xml
minimal-conda
:
minimal-conda
:
stage
:
test
stage
:
test
...
...
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