Skip to content

Commit

Permalink
Merge pull request #105 from browniebroke/codecov
Browse files Browse the repository at this point in the history
Use codecov to upload coverage data cross-platform
  • Loading branch information
browniebroke authored Jun 14, 2020
2 parents d0e8299 + d5473c2 commit fbc3002
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@ jobs:
pip install -r requirements.txt
- name: Test with Pytest
run: pytest
# Upload report: Linux & macOS
- name: Upload coverage report (Unix)
if: matrix.os != 'windows-latest'
run: bash <(curl -s https://codecov.io/bash)
run: codecov -t ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
black
bump2version
codecov
coverage
flake8
flake8-isort
Expand Down
16 changes: 7 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ black==19.10b0 # via -r requirements.in
bleach==3.1.5 # via readme-renderer
bump2version==1.0.0 # via -r requirements.in
certifi==2020.4.5.2 # via requests
cffi==1.14.0 # via cryptography
cfgv==3.1.0 # via pre-commit
chardet==3.0.4 # via requests
click==7.1.2 # via black
codecov==2.1.6 # via -r requirements.in
commonmark==0.9.1 # via recommonmark
coverage==5.1 # via -r requirements.in, pytest-cov
cryptography==2.9.2 # via secretstorage
coverage==4.5.4 # via -r requirements.in, codecov, pytest-cov
distlib==0.3.0 # via virtualenv
docutils==0.16 # via readme-renderer, recommonmark, sphinx
filelock==3.0.12 # via tox, virtualenv
Expand All @@ -27,8 +26,8 @@ flake8==3.8.3 # via -r requirements.in, flake8-isort
identify==1.4.19 # via pre-commit
idna==2.9 # via requests
imagesize==1.2.0 # via sphinx
importlib-metadata==1.6.1 # via flake8, keyring, pluggy, pre-commit, pytest, tox, twine, virtualenv
isort[pyproject]==4.3.21 # via flake8-isort
jeepney==0.4.3 # via keyring, secretstorage
jinja2==2.11.2 # via sphinx
keyring==21.2.1 # via twine
libcst==0.3.6 # via -r docs/requirements.txt
Expand All @@ -45,11 +44,10 @@ pluggy==0.13.1 # via pytest, tox
pre-commit==2.5.1 # via -r requirements.in
py==1.8.1 # via pytest, tox
pycodestyle==2.6.0 # via flake8
pycparser==2.20 # via cffi
pyflakes==2.2.0 # via flake8
pygments==2.6.1 # via readme-renderer, sphinx
pyparsing==2.4.7 # via packaging
pytest-cov==2.10.0 # via -r requirements.in
pytest-cov==2.10.0 # via -r requirements.in
pytest-mock==3.1.1 # via -r requirements.in
pytest-runner==5.2 # via -r requirements.in
pytest==5.4.3 # via -r requirements.in, pytest-cov, pytest-mock
Expand All @@ -60,9 +58,8 @@ readme-renderer==26.0 # via twine
recommonmark==0.6.0 # via -r docs/requirements.txt
regex==2020.6.8 # via black
requests-toolbelt==0.9.1 # via twine
requests==2.23.0 # via requests-toolbelt, sphinx, twine
secretstorage==3.1.2 # via keyring
six==1.15.0 # via bleach, cryptography, packaging, readme-renderer, tox, virtualenv
requests==2.23.0 # via codecov, requests-toolbelt, sphinx, twine
six==1.15.0 # via bleach, packaging, readme-renderer, tox, virtualenv
snowballstemmer==2.0.0 # via sphinx
sphinx-rtd-theme==0.4.3 # via -r docs/requirements.txt
sphinx==3.1.0 # via -r docs/requirements.txt, recommonmark, sphinx-rtd-theme
Expand All @@ -86,6 +83,7 @@ virtualenv==20.0.23 # via pre-commit, tox
wcwidth==0.2.4 # via pytest
webencodings==0.5.1 # via bleach
wheel==0.34.2 # via -r requirements.in
zipp==3.1.0 # via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit fbc3002

Please sign in to comment.