Skip to content

Commit

Permalink
Feat(makefile): add rule to skip integration tests (#1865)
Browse files Browse the repository at this point in the history
* Feat!(makefile): rename style to lint, add rule to skip int. tests

* PR feedback

* Cleanup

* PR feedback
  • Loading branch information
georgesittas authored Jun 30, 2023
1 parent 2e1a2b8 commit 6e81ac6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit 6e81ac6

Please sign in to comment.