Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
anayden committed Sep 21, 2020
1 parent 8d6e7e8 commit 4758836
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
PYTEST_FLAGS=

.PHONY: setup
setup:
pip install -r requirements/test.txt -c requirements/constraints.txt

.PHONY: lint
lint:
black --check neuro_extras tests setup.py
flake8 neuro_extras tests setup.py
mypy neuro_extras tests setup.py

.PHONY: format
format:
isort -rc neuro_extras tests setup.py
black neuro_extras tests setup.py

.PHONY: test_e2e
test_e2e:
pytest -vv ${PYTEST_FLAGS} tests/e2e

.PHONY: test
test: lint test_e2e

.PHONY: build
build:
docker build -t neuromation/neuro-extras:latest \
--build-arg NEURO_EXTRAS_VERSION="$(shell python setup.py --version)" \
Expand Down

0 comments on commit 4758836

Please sign in to comment.