Skip to content
Snippets Groups Projects
Commit a0373468 authored by Georges Racinet's avatar Georges Racinet
Browse files

CI: we'll use py.test

parent 551a9706
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -2,3 +2,6 @@
image: octobus/ci-py2-hgext3rd:hg-5.2
script:
- flake8 heptapod setup.py
# TODO put py.test in the image
- pip install --user pytest
- ~/.local/bin/py.test
......@@ -7,3 +7,5 @@
build/
*.egg-info/
dist/
.pytest_cache/
"""A minimal py.test to make sure the testing harness works.
"""
import subprocess
def test_hg_install():
vinfo = subprocess.check_output(('hg', 'version'))
assert vinfo.startswith('Mercurial')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment