Skip to content

Commit c479e51

Browse files
authored
[Python][aiohttp] create venv as rule (#5913)
* create venv as rule * create venv as rule II
1 parent 4c64870 commit c479e51

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

samples/server/petstore/python-aiohttp-srclayout/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ clean:
1111
find . -name "*.py[oc]" -delete
1212
find . -name "__pycache__" -delete
1313

14-
test: clean
14+
venv:
15+
python -m venv $(VENV)
16+
17+
test: clean venv
1518
bash ./test_python3.sh
1619

17-
test-all: clean
20+
test-all: clean venv
1821
bash ./test_python3.sh

samples/server/petstore/python-aiohttp/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ clean:
1111
find . -name "*.py[oc]" -delete
1212
find . -name "__pycache__" -delete
1313

14-
test: clean
14+
venv:
15+
python -m venv $(VENV)
16+
17+
test: clean venv
1518
bash ./test_python3.sh
1619

17-
test-all: clean
20+
test-all: clean venv
1821
bash ./test_python3.sh

0 commit comments

Comments
 (0)