~n0mn0m/circuitroomba

c5f9d54d0e2e406a18ff7306f0428b3d2bac427d — n0mn0m 4 months ago 3e9bb14 master
Coverage integration.

Add code cov env config.
3 files changed, 7 insertions(+), 3 deletions(-)

M .build.yml
M .coveragerc -rw-r--r-- => -rwxr-xr-x
M tox.ini -rw-r--r-- => -rwxr-xr-x
M .build.yml => .build.yml +6 -3
@@ 3,11 3,14 @@ secrets:
  - 22254790-6b01-431a-953e-323215895daa
tasks:
  - test: |
      pip install circuitpython-build-tools Sphinx sphinx-rtd-theme tox codecov
      tox
      sudo apt-get install  -y python3-pip
      pip3 install circuitpython-build-tools Sphinx sphinx-rtd-theme tox codecov
      cd circuitroomba
      /home/build/.local/bin/tox
      # - circuitpython-build-bundles --filename_prefix circuitroomba --library_location .
      export CODECOV_TOKEN="42986408-779d-4135-a644-28b7dc5a83ae"
      export CODECOV=$(cat ~/.codecov)
      codecov -t $CODECOV
      /home/build/.local/bin/codecov -t $CODECOV
  # - pypi: |
  #     pip install -U twine
  #     python setup.py sdist

M .coveragerc => .coveragerc +0 -0

M tox.ini => tox.ini +1 -0
@@ 24,6 24,7 @@ commands = flake8
deps = -rrequirements.txt
       -rtest-requirements.txt
commands = coverage run -m unittest discover tests/
           coverage xml
           coverage html

[testenv:black]