Skip to content

Commit

Permalink
Testing #python in #docker
Browse files Browse the repository at this point in the history
  • Loading branch information
neilhwatson committed Jul 4, 2017
1 parent 3592fc0 commit 5d5202f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/app/Dockerfile
@@ -0,0 +1,6 @@
FROM python:2.7

RUN pip install pytest
COPY . /root/
WORKDIR /root/t
CMD [ "pytest" ]
5 changes: 5 additions & 0 deletions python/app/dockertest.sh
@@ -0,0 +1,5 @@
#!/bin/sh

docker build . -t app
docker run --rm --name app -t app

2 changes: 2 additions & 0 deletions python/app/t/test_01-convert.py
@@ -1,3 +1,5 @@
#!/usr/bin/env python

import unittest
import sys

Expand Down

0 comments on commit 5d5202f

Please sign in to comment.