Skip to content

Commit 6571eb3

Browse files
committed
Add tests to source distribution
1 parent 2a39f05 commit 6571eb3

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

Diff for: MANIFEST.in

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
global-exclude tests/*
2-
recursive-exclude tests *
3-
recursive-exclude tests_py35 *
1+
include MANIFEST.in
2+
43
include LICENSE
4+
include README.md
5+
6+
include .flake8
7+
8+
include tox.ini
9+
10+
graft src/graphql_relay
11+
graft tests
12+
13+
global-exclude *.py[co] __pycache__

Diff for: tox.ini

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{27,34,35,36,37,py,py3}, flake8
2+
envlist = py{27,34,35,36,37,py,py3}, flake8, manifest
33

44
[testenv:flake8]
55
basepython = python3.7
@@ -13,6 +13,12 @@ whitelist_externals=*
1313
[testenv:pypy3]
1414
whitelist_externals=*
1515

16+
[testenv:manifest]
17+
basepython = python3.7
18+
deps = check-manifest>=0.40,<1
19+
commands =
20+
check-manifest -v
21+
1622
[testenv]
1723
commands=
1824
python setup.py test -a "{posargs}"

0 commit comments

Comments
 (0)