Add ical test target to detect errors

Add a tox ical test target that calls yaml2ical to check for conflicts
and syntax issues in the meetings directory. This will be used in check
and gate test jobs for the irc-meetings repository.

Change-Id: I7622cfab01031f780274e5488c333db9588ef888
This commit is contained in:
Thierry Carrez 2015-02-02 10:23:35 +01:00
parent a49dc19c8d
commit f22593a981
3 changed files with 21 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
.tox
doc/build
*.egg-info
pbr*.egg
output.ical

1
test-requirements.txt Normal file
View File

@ -0,0 +1 @@
yaml2ical

15
tox.ini Normal file
View File

@ -0,0 +1,15 @@
[tox]
envlist = ical
minversion = 1.6
skipsdist = True
[testenv]
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:ical]
commands = yaml2ical -y meetings -o output.ical -f