Add timeouts for most CLI commands #16
2 changed files with 2 additions and 42 deletions
|
@ -48,20 +48,8 @@ To setup development environment for `frosfs-testcases`, please, take the follow
|
||||||
1. Prepare virtualenv
|
1. Prepare virtualenv
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ virtualenv --python=python3.9 venv
|
$ make venv
|
||||||
$ source venv/bin/activate
|
$ source frostfs-testcases-3.10/bin/activate
|
||||||
```
|
|
||||||
|
|
||||||
2. Install all dependencies:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ pip install -r requirements.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Setup pre-commit hooks to run code formatters on staged files before you run a `git commit` command:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ pre-commit install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally you might want to integrate code formatters with your code editor to apply formatters to code files as you go:
|
Optionally you might want to integrate code formatters with your code editor to apply formatters to code files as you go:
|
||||||
|
|
28
Makefile.old
28
Makefile.old
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
.DEFAULT_GOAL := help
|
|
||||||
|
|
||||||
SHELL ?= bash
|
|
||||||
|
|
||||||
VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a)
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: venvs
|
|
||||||
|
|
||||||
include venv_template.mk
|
|
||||||
|
|
||||||
.PHONY: venvs
|
|
||||||
venvs:
|
|
||||||
$(foreach venv,$(VENVS),venv.$(venv))
|
|
||||||
|
|
||||||
$(foreach venv,$(VENVS),$(eval $(call VENV_template,$(venv))))
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf venv.*
|
|
||||||
|
|
||||||
pytest-local:
|
|
||||||
@echo "⇒ Run Pytest"
|
|
||||||
python -m pytest pytest_tests/testsuites/
|
|
||||||
|
|
||||||
help:
|
|
||||||
@echo "⇒ run Run testcases ${R}"
|
|
Loading…
Reference in a new issue