Skip to content

Commit

Permalink
Add slow marker for pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwwen authored and ryan-kipawa committed Nov 11, 2024
1 parent dd50276 commit 3a58cdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/full_test_2024_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
- name: Test with pytest
run: |
pytest -v -m "not license_required"
pytest -v -m "not license_required and not slow"
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ warn_unreachable = true
# ignore long lines
lint.exclude = ["notebooks/**/*.ipynb"]
lint.ignore = ["E501"]

[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
"slow: slow running tests",
"license_required: requires MIKE+ license",
]

0 comments on commit 3a58cdc

Please sign in to comment.