Skip to content

Commit

Permalink
tox include check manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
leliel12 committed May 15, 2020
1 parent 96df353 commit 83673b7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ matrix:
dist: xenial
sudo: true

- python: 3.7
env: TOXENV=check-manifest
dist: xenial
sudo: true

- python: 3.7
env: TOXENV=coverage
dist: xenial
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
include *.md
include LICENSE
include README.rst

recursive-include arcovid19/web/templates/ *.html
recursive-include arcovid19/web/static/ *
21 changes: 20 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = style, py37, py38, docs, coverage
envlist = style, check-manifest, py37, py38, docs, coverage

[pytest]
addopts = -n "auto" --mpl


[check-manifest]
ignore =
.travis.yml
tox.ini
docs/**
report/**
databases/**
tests/**


[testenv]
deps =
ipdb
Expand All @@ -16,6 +27,14 @@ commands =
pytest tests/ {posargs}


[testenv:check-manifest]
skip_install = True
usedevelop = False
deps = check-manifest
commands =
check-manifest


[testenv:style]
skip_install = True
usedevelop = False
Expand Down

0 comments on commit 83673b7

Please sign in to comment.