Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Attempt to ignore the write stuff in covercircle
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Jul 21, 2020
1 parent 6ab88b3 commit b209c14
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workflows:
- test:
name: "Python 2.7"
image: "python:2.7"
toxenv: "py27,covercircle"
toxenv: "py27,covercirclepy2"
- test:
name: "Python 3.6"
image: "python:3.6"
Expand Down
19 changes: 17 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,23 @@ setenv =
COVERALLS_PARALLEL=true
commands =
/usr/bin/env bash -c '{envpython} -m coverage combine {toxworkdir}/py*/.coverage'
py{35,36,37,38}: coverage report --ignore-errors --skip-covered --omit "wandb/vendor/*" --omit "wandb/sdk_py27/*"
py{27}: coverage report --ignore-errors --skip-covered --omit "wandb/vendor/*" --omit "wandb/sdk/*"
coverage report --ignore-errors --skip-covered --omit "wandb/vendor/*" --omit "wandb/sdk_py27/*"
coveralls

[testenv:covercirclepy2]
skip_install = true
basepython = python3
passenv = CIRCLECI CIRCLE_* CI_PULL_REQUEST COVERALLS_PARALLEL COVERALLS_REPO_TOKEN
deps =
pytest
coverage
coveralls
setenv =
CIRCLE_BUILD_NUM={env:CIRCLE_WORKFLOW_ID}
COVERALLS_PARALLEL=true
commands =
/usr/bin/env bash -c '{envpython} -m coverage combine {toxworkdir}/py*/.coverage'
coverage report --ignore-errors --skip-covered --omit "wandb/vendor/*" --omit "wandb/sdk/*"
coveralls

[testenv:cover]
Expand Down

0 comments on commit b209c14

Please sign in to comment.