Skip to content

Instantly share code, notes, and snippets.

@obestwalter
Created July 3, 2019 17:08
Show Gist options
  • Select an option

  • Save obestwalter/8cc6bca3db1d171673a430103cb0c8cf to your computer and use it in GitHub Desktop.

Select an option

Save obestwalter/8cc6bca3db1d171673a430103cb0c8cf to your computer and use it in GitHub Desktop.
running submark in tox
< ~/code/3rd_party_code >  
git clone git@github.com:okken/submark.git && cd submark
[0] (git)-[submark/master:ebd5c4c2a88c ] < ~/code/3rd_party_code/submark >  
tox
.package create: /home/ob/code/3rd_party_code/submark/.tox/.package
.package installdeps: flit
py36 create: /home/ob/code/3rd_party_code/submark/.tox/py36
py36 installdeps: pytest, pytest-cov
py36 inst: /home/ob/code/3rd_party_code/submark/.tox/.tmp/package/1/submark-0.4.tar.gz
py36 installed: atomicwrites==1.3.0,attrs==19.1.0,coverage==4.5.3,importlib-metadata==0.18,more-itertools==7.1.0,packaging==19.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.0,pytest-cov==2.7.1,six==1.12.0,submark==0.4,wcwidth==0.1.7,zipp==0.5.1
py36 run-test-pre: PYTHONHASHSEED='2546926389'
py36 run-test: commands[0] | python -m pytest --cov=/home/ob/code/3rd_party_code/submark/.tox/py36/lib/python3.6/site-packages/submark
=============================================================== test session starts ===============================================================
platform linux -- Python 3.6.8, pytest-5.0.0, py-1.8.0, pluggy-0.12.0
cachedir: /home/ob/code/3rd_party_code/submark/.tox/py36/.pytest_cache
rootdir: /home/ob/code/3rd_party_code/submark/tests
plugins: cov-2.7.1
collected 10 items                                                                                                                                

test_submark.py ..........                                                                                                                  [100%]

----------- coverage: platform linux, python 3.6.8-final-0 -----------
Name                                                                                             Stmts   Miss  Cover
--------------------------------------------------------------------------------------------------------------------
/home/ob/code/3rd_party_code/submark/.tox/py36/lib/python3.6/site-packages/submark/__init__.py       3      0   100%
/home/ob/code/3rd_party_code/submark/.tox/py36/lib/python3.6/site-packages/submark/cli.py            4      0   100%
/home/ob/code/3rd_party_code/submark/.tox/py36/lib/python3.6/site-packages/submark/submark.py       27      0   100%
--------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                               34      0   100%


============================================================ 10 passed in 0.27 seconds ============================================================
py37 create: /home/ob/code/3rd_party_code/submark/.tox/py37
py37 installdeps: pytest, pytest-cov
py37 inst: /home/ob/code/3rd_party_code/submark/.tox/.tmp/package/1/submark-0.4.tar.gz
py37 installed: atomicwrites==1.3.0,attrs==19.1.0,coverage==4.5.3,importlib-metadata==0.18,more-itertools==7.1.0,packaging==19.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.0,pytest-cov==2.7.1,six==1.12.0,submark==0.4,wcwidth==0.1.7,zipp==0.5.1
py37 run-test-pre: PYTHONHASHSEED='2546926389'
py37 run-test: commands[0] | python -m pytest --cov=/home/ob/code/3rd_party_code/submark/.tox/py37/lib/python3.7/site-packages/submark
=============================================================== test session starts ===============================================================
platform linux -- Python 3.7.3, pytest-5.0.0, py-1.8.0, pluggy-0.12.0
cachedir: /home/ob/code/3rd_party_code/submark/.tox/py37/.pytest_cache
rootdir: /home/ob/code/3rd_party_code/submark/tests
plugins: cov-2.7.1
collected 10 items                                                                                                                                

test_submark.py ..........                                                                                                                  [100%]

----------- coverage: platform linux, python 3.7.3-final-0 -----------
Name                                                                                             Stmts   Miss  Cover
--------------------------------------------------------------------------------------------------------------------
/home/ob/code/3rd_party_code/submark/.tox/py37/lib/python3.7/site-packages/submark/__init__.py       3      0   100%
/home/ob/code/3rd_party_code/submark/.tox/py37/lib/python3.7/site-packages/submark/cli.py            4      0   100%
/home/ob/code/3rd_party_code/submark/.tox/py37/lib/python3.7/site-packages/submark/submark.py       27      0   100%
--------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                               34      0   100%


============================================================ 10 passed in 0.15 seconds ============================================================
flake8 create: /home/ob/code/3rd_party_code/submark/.tox/flake8
flake8 installdeps: flake8
flake8 installed: entrypoints==0.3,flake8==3.7.7,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1
flake8 run-test-pre: PYTHONHASHSEED='2546926389'
flake8 run-test: commands[0] | python -m flake8 --show-source tests submark
_____________________________________________________________________ summary _____________________________________________________________________
  py36: commands succeeded
  py37: commands succeeded
  flake8: commands succeeded
  congratulations :)
[0] (git)-[submark/master:ebd5c4c2a88c ] < ~/code/3rd_party_code/submark >  
git log -1
commit ebd5c4c2a88c55214acdb08d23d03c0297a63ce1 (HEAD -> master, tag: v0.4, origin/master, origin/HEAD)
Author: Brian Okken <1568356+okken@users.noreply.github.com>
Date:   Tue Jul 2 13:55:51 2019 -0700

    0.4 : flit and tox and coverage working
[0] (git)-[submark/master:ebd5c4c2a88c ] < ~/code/3rd_party_code/submark >
[0] (git)-[submark/master:ebd5c4c2a88c ] < ~/code/3rd_party_code/submark >  
tox --version
3.13.2.dev2+g30a3a4d.d20190627 imported from /home/ob/oss/tox-dev/tox/src/tox/__init__.py
registered plugins:
    tox-virtualenv-no-download-1.1.0 at /home/ob/.toxbase/lib/python3.6/site-packages/tox_virtualenv_no_download.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment