Skip to content

Commit

Permalink
chore: Run pytest on pre-commit check (#1076)
Browse files Browse the repository at this point in the history
hugr-py has no actual tests yet, but we should start running pytest here
before it does.
  • Loading branch information
aborgna-q authored May 17, 2024
1 parent 4dba950 commit 51a253a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,10 @@ repos:
language: system
files: \.rs$
pass_filenames: false
- id: py-test
name: pytest
description: Run python tests
entry: sh -c "poetry install && poetry run pytest"
language: system
files: \.py$
pass_filenames: false

0 comments on commit 51a253a

Please sign in to comment.