← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/git-build-recipe:tox into git-build-recipe:master

 

Colin Watson has proposed merging ~cjwatson/git-build-recipe:tox into git-build-recipe:master.

Commit message:
Add tox configuration

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/git-build-recipe/+git/git-build-recipe/+merge/415680
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/git-build-recipe:tox into git-build-recipe:master.
diff --git a/.gitignore b/.gitignore
index bfd5cdf..5ff083a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 *.egg-info
 *.pyc
 .pybuild
+.tox
 __pycache__
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..f990d65
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,16 @@
+[tox]
+envlist =
+    py36
+    py37
+    py38
+    py39
+    py310
+skip_missing_interpreters =
+    true
+
+[testenv]
+deps =
+    .[test]
+    pytest
+commands =
+    pytest {posargs}