Skip to content

Commit 7b75667

Browse files
authored
Update tox to not run codecov as github action takes care of it (dropbox#224)
* Update tox to not run codecov as github action takes care of it * Update 3.9-dev * Remove python2 from codecov computation
1 parent bd6c303 commit 7b75667

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

.github/workflows/codecovupload.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [2.7, 3.x]
10+
python-version: [3.x]
1111

1212
steps:
1313
- uses: actions/checkout@v2

.travis.yml

-2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ matrix:
2323
- python: "3.9-dev"
2424
script:
2525
- tox
26-
after_success:
27-
- bash <(curl -s https://codecov.io/bash)

codecov.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ coverage:
66
threshold: 1%
77
base: auto
88
flags:
9-
- unit
9+
- unittest
1010
paths:
1111
- "dropbox"
12-
branches:
13-
- master
1412
if_not_found: success
1513
if_ci_failed: error
1614
informational: true

tox.ini

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22

3-
envlist = py{27,34,35,36,37,38,py,py3},check,lint,docs,test_unit,coverage,codecov
3+
envlist = py{27,34,35,36,37,38,39-dev,py,py3},check,lint,docs,test_unit,coverage
44
skip_missing_interpreters = true
55

66
[tox:travis]
@@ -10,8 +10,9 @@ pypy = check, lint, docs, test_unit
1010
3.4 = check, lint, docs, test_unit
1111
3.5 = check, lint, docs, test_unit
1212
3.6 = check, lint, docs, test_unit
13-
3.7 = check, lint, docs, test_unit, coverage, codecov
14-
3.8 = check, lint, docs, test_unit, coverage, codecov
13+
3.7 = check, lint, docs, test_unit
14+
3.8 = check, lint, docs, test_unit
15+
3.9-dev = check, lint, docs, test_unit
1516
pypy3 = check, lint, docs, test_unit
1617

1718

@@ -66,7 +67,7 @@ usedevelop = true
6667

6768
commands =
6869
coverage run --rcfile=.coveragerc -m pytest test/test_dropbox_unit.py
69-
coverage xml
70+
coverage report
7071

7172
deps =
7273
-rtest/requirements.txt
@@ -85,9 +86,4 @@ description = invoke sphinx-build to build the HTML docs
8586
extras = docs
8687
commands = sphinx-build -b html docs build/html
8788
deps =
88-
sphinx
89-
90-
[testenv:codecov]
91-
passenv = CI TRAVIS TRAVIS_*
92-
deps = codecov
93-
commands = codecov
89+
sphinx

0 commit comments

Comments
 (0)