Skip to content

Commit

Permalink
🔧 Add slow tests check on pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisFederico committed Jan 5, 2024
1 parent 1f28156 commit ef1e3d9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ repos:
rev: 22.10.0
hooks:
- id: black
- repo: local
hooks:
- id: pytest-fast-check
name: pytest-fast-check
entry: ./venv/Scripts/python.exe -m pytest -m "not slow"
stages: ["commit"]
language: system
pass_filenames: false
always_run: true
- repo: local
hooks:
- id: pytest-check
name: pytest-check
entry: ./venv/Scripts/python.exe -m pytest -m "not slow"
entry: ./venv/Scripts/python.exe -m pytest
stages: ["push"]
language: system
pass_filenames: false
always_run: true

0 comments on commit ef1e3d9

Please sign in to comment.