Skip to content

Commit

Permalink
ci: Rebuild the hugr executable without extension inference before …
Browse files Browse the repository at this point in the history
…pytest (#1309)

Co-authored-by: Agustín Borgna <[email protected]>
  • Loading branch information
cqc-alec and aborgna-q authored Jul 16, 2024
1 parent fa42476 commit cb84b84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ repos:
- id: py-test
name: pytest
description: Run python tests
entry: sh -c "poetry install && poetry run pytest"
# We need to rebuild `hugr-cli` without the `extension_inference` feature
# to avoid test errors.
# TODO: Remove this once the issue is fixed.
entry: sh -c "cargo build -p hugr-cli && poetry install && poetry run pytest"
language: system
files: \.py$
pass_filenames: false

0 comments on commit cb84b84

Please sign in to comment.