Skip to content

Commit 81ffb50

Browse files
add pytest
Signed-off-by: Ruslan Senatorov <55090151+ruslansenatorov@users.noreply.github.com>
1 parent fb45ad3 commit 81ffb50

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,16 @@ repos:
251251
require_serial: true
252252
types_or: [jupyter, markdown]
253253
additional_dependencies: [pydocstyle]
254+
- repo: https://github.com/christophmeissner/pytest-pre-commit
255+
rev: 1.0.0
256+
hooks:
257+
- id: pytest
258+
name: "Run pytest with HTML report"
259+
entry: pytest
260+
args:
261+
- "--html=senatorov_report.html"
262+
- "--self-contained-html"
263+
language: python
264+
pass_filenames: false
265+
always_run: true
266+
additional_dependencies: [pytest-html]

0 commit comments

Comments
 (0)