Skip to content

Commit

Permalink
allow coverage drop
Browse files Browse the repository at this point in the history
  • Loading branch information
CircleCI committed Jan 29, 2021
1 parent 3a9e835 commit 2a089d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ jobs:
name: run tests
command: |
. venv/bin/activate
python run_tests.py
$PYTHON_EXE run_tests.py
# Upload to codecov.io (requires a CODECOV_TOKEN environ or github+circleci integration)
codecov
- store_artifacts:
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
name: run tests
command: |
. venv/bin/activate
python run_tests.py
$PYTHON_EXE run_tests.py
# Upload to codecov.io (requires a CODECOV_TOKEN environ or github+circleci integration)
codecov
- store_artifacts:
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:
# Execute the publish script for real this time
MB_PYTHON_TAG=$MB_PYTHON_TAG DO_GPG=True GPG_KEYID=$GPG_KEYID TWINE_PASSWORD=$TWINE_PASSWORD TWINE_USERNAME=$TWINE_USERNAME GPG_EXECUTABLE=$GPG_EXECUTABLE CURRENT_BRANCH=release DEPLOY_BRANCH=release DO_UPLOAD=True DO_TAG=False ./publish.sh
# Have the server git-tag the release and push the tags
VERSION=$(python -c "import setup; print(setup.VERSION)")
VERSION=$($PYTHON_EXE -c "import setup; print(setup.VERSION)")
# do sed twice to handle the case of https clone with and without a read token
URL_HOST=$(git remote get-url origin | sed -e 's|https\?://.*@||g' | sed -e 's|https\?://||g')
echo "URL_HOST = $URL_HOST"
Expand Down
6 changes: 5 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ coverage:
range: "70...100"

status:
project: yes
project:
default:
threshold: 10%
patch: yes
changes: no



parsers:
gcov:
branch_detection:
Expand Down

0 comments on commit 2a089d8

Please sign in to comment.