Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(makefile): add rule to skip integration tests #1865

Merged
merged 4 commits into from
Jun 30, 2023
Merged
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
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: install install-dev install-pre-commit test style check docs docs-serve
.PHONY: install install-dev install-pre-commit test unit style check docs docs-serve

install:
pip install -e .
Expand All @@ -12,6 +12,9 @@ install-pre-commit:
test:
python -m unittest

unit:
SKIP_INTEGRATION=1 python -m unittest

style:
pre-commit run --all-files

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,9 @@ make docs-serve
## Run Tests and Lint

```
make check # Set SKIP_INTEGRATION=1 to skip integration tests
make style # Only linter checks
make unit # Only unit tests & linter checks
make check # Full test suite & linter checks
```

## Benchmarks
Expand Down