File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
.github/actions/unit-test Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 72
72
- name : Run pytest
73
73
run : |
74
74
if [ "${{ inputs.pytest-markers }}" = "" ]; then
75
- pytest
75
+ pytest
76
76
else
77
77
pytest -m "${{ inputs.pytest-markers }}"
78
78
fi
Original file line number Diff line number Diff line change
1
+ Add test coveragemarkers to `` pyproject.toml ``
Original file line number Diff line number Diff line change @@ -121,10 +121,16 @@ source = ["ansys.dyna.core"]
121
121
[tool .coverage .report ]
122
122
show_missing = true
123
123
124
+
124
125
[tool .pytest .ini_options ]
125
126
minversion = " 7.1"
126
127
addopts = " -ra --cov=ansys.dyna.core --cov-report html:.cov/html --cov-report xml:.cov/xml --cov-report term -vv"
127
128
testpaths = [" tests" ]
129
+ markers = """
130
+ run: tests that exercise the `run` subpackage
131
+ keywords: tests that exercies the `keyword` subpackage
132
+ viz: tests that do 3d visualization
133
+ """
128
134
129
135
[tool .towncrier ]
130
136
directory = " doc/changelog"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments