mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
* fix: remove option supportPython2. [python-flask][python-aiohttp][python-blueplanet] * fix: update samples * test only python servers * fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp] * Revert "fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]" This reverts commit 9f47db2f87d1faea6863f4fa5f7c97ddba985879. * test in circlei * run commands directly * test in node 1 * update makefile * fix Makefile * fix test * revert some changes, remove python server tests from travis Co-authored-by: Kevin Bannier <kevinbannier1@gmail.com>
22 lines
354 B
Makefile
22 lines
354 B
Makefile
#!/bin/bash
|
|
|
|
REQUIREMENTS_OUT=requirements.txt.log
|
|
VENV=.venv
|
|
|
|
clean:
|
|
rm -rf $(REQUIREMENTS_OUT)
|
|
rm -rf $(VENV)
|
|
rm -rf .pytest_cache
|
|
rm -rf .coverage
|
|
find . -name "*.py[oc]" -delete
|
|
find . -name "__pycache__" -delete
|
|
|
|
venv:
|
|
python3 -m venv $(VENV)
|
|
|
|
test: clean venv
|
|
bash ./test_python3.sh
|
|
|
|
test-all: clean venv
|
|
bash ./test_python3.sh
|