Skip to content

Commit d17c169

Browse files
committed
WIP coverage fixes
1 parent 5d48d8d commit d17c169

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

.gitlab-ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@ stages:
33
- benchmark
44
- upload
55

6-
test:
7-
image: mambaorg/micromamba
8-
stage: test
9-
parallel:
10-
matrix:
11-
- PYTHON: [ '3.7', '3.8', '3.9', '3.10' ]
12-
NAME: ['base', 'fenics', 'petsc', 'mpi4py']
13-
artifacts:
14-
name: "$NAME_$PYTHON"
15-
paths:
16-
- coverage_${NAME}_3.10.dat
17-
- data_3.10
18-
before_script:
19-
- micromamba create --yes python=$PYTHON -f etc/environment-$NAME.yml
20-
- eval "$(micromamba shell hook --shell=bash)"
21-
- micromamba activate pySDC
22-
- micromamba install --yes -c conda-forge openssh
23-
script:
24-
- coverage run --data-file=coverage_${NAME}_${PYTHON}.dat -m pytest --continue-on-collection-errors -v --durations=0 pySDC/tests -m ${NAME}
25-
- mv data data_${PYTHON}
26-
- cat coverage_${NAME}_${PYTHON}.dat
6+
#test:
7+
# image: mambaorg/micromamba
8+
# stage: test
9+
# parallel:
10+
# matrix:
11+
# - PYTHON: [ '3.7', '3.8', '3.9', '3.10' ]
12+
# NAME: ['base', 'fenics', 'petsc', 'mpi4py']
13+
# artifacts:
14+
# name: "$NAME_$PYTHON"
15+
# paths:
16+
# - coverage_${NAME}_3.10.dat
17+
# - data_3.10
18+
# before_script:
19+
# - micromamba create --yes python=$PYTHON -f etc/environment-$NAME.yml
20+
# - eval "$(micromamba shell hook --shell=bash)"
21+
# - micromamba activate pySDC
22+
# - micromamba install --yes -c conda-forge openssh
23+
# script:
24+
# - coverage run --data-file=coverage_${NAME}_${PYTHON}.dat -m pytest --continue-on-collection-errors -v --durations=0 pySDC/tests -m ${NAME}
25+
# - mv data data_${PYTHON}
26+
# - cat coverage_${NAME}_${PYTHON}.dat
2727

2828
#test_kit:
2929
# image: rcaspart/micromamba-cuda

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ skip-string-normalization = true
8787

8888
[tool.coverage.run]
8989
omit = ['*/pySDC/tests/*', '*/data/*', '*/pySDC/playgrounds/*', '*/pySDC/projects/deprecated/*']
90+
relative_paths = true
9091

9192
[tool.coverage.report]
9293
skip_empty = true

0 commit comments

Comments
 (0)