Skip to content

Commit

Permalink
implemented pytest.mark.slow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetracarbonylnickel committed Oct 3, 2023
1 parent 611b3f1 commit 874ffe2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Unit Tests
run: |
poetry run coverage run -m pytest tests
poetry run coverage run -m pytest -k "not slow"
poetry run coverage report
- name: Coverage Report
Expand Down
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
markers =
slow: mark a test as slow and should only run explicitly
Empty file.

0 comments on commit 874ffe2

Please sign in to comment.