Python Continuous Integration in Docker
docker build -t cmattoon/pyci .
docker run --rm -v $PWD:/test -t cmattoon/pyci <package_name>
Where <package_name>
is the name of the Python package to test
requirements.txt
- Will cause pip3 to install dependenciessetup.py
- Used to triggerbuild
,pytest
, andpy.test --cov
pylintrc
- If present, searches./build/lib
for*.py
files (excludestests
) forpylint