Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
/tests/component/__pycache__
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ clean:
unit-test:
RUST_BACKTRACE=1 cargo test --all-features

.PHONY: component-test
component-test:
cargo build --locked --no-default-features \
--features threshold-engine,fake-backend,mockfs
python3 -m pytest tests/component

.PHONY: test
test: unit-test
test: unit-test component-test

.PHONY: pre-push
pre-push: check test
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]
pythonpath = tests/component
testpaths = tests/component
Loading
Loading