From 29b6f481df8903a0d8f5bc3f95320d4cb7b1cdb1 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Sun, 13 Nov 2022 22:07:00 +0000 Subject: [PATCH] Basic tox with pyenv setup for testing - Amended ignore file - Added tox.ini to test an array of Python versions - .python-version file (used by pyenv) to enable concurrent availability of Python installations --- .gitignore | 9 +++++++++ .python-version | 6 ++++++ tox.ini | 8 ++++++++ 3 files changed, 23 insertions(+) create mode 100644 .python-version create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index b03d700..94a369e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,13 @@ *.pyc build/* dist/* +.tox/ pcpp.egg-info/* +tests/alternate_input_encodings.c +tests/issue0017.i +tests/issue0025.i +tests/issue0030.c +tests/issue0037.i +tests/issue0044.i +tests/issue0051.i +tests/issue0063.i diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..890291b --- /dev/null +++ b/.python-version @@ -0,0 +1,6 @@ +2.7.18 +3.7.15 +3.8.15 +3.9.15 +3.10.8 +3.11.0 diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..f262abe --- /dev/null +++ b/tox.ini @@ -0,0 +1,8 @@ +[tox] +envlist = py27,py37,py38,py39,py310,py311 + +[testenv] +usedevelop = true +deps = -rrequirements.txt +platforms = linux2|linux +commands = python setup.py test