Skip to content

Commit

Permalink
Merge pull request pytest-dev#6548 from blueyed/ci-codecov-flag-gha
Browse files Browse the repository at this point in the history
ci: codecov: add flag for GHA
  • Loading branch information
blueyed committed Jan 23, 2020
2 parents 8ca8d25 + a8d67f5 commit 38538c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -154,7 +154,7 @@ jobs:
with:
token: ${{ secrets.codecov }}
file: ./coverage.xml
flags: ${{ runner.os }}
flags: GHA
fail_ci_if_error: false
name: ${{ matrix.name }}

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -71,7 +71,7 @@ script: tox
after_success:
- |
if [[ "$PYTEST_COVERAGE" = 1 ]]; then
env CODECOV_NAME="$TOXENV-$TRAVIS_OS_NAME" scripts/report-coverage.sh
env CODECOV_NAME="$TOXENV-$TRAVIS_OS_NAME" scripts/report-coverage.sh -F Travis
fi
notifications:
Expand Down
2 changes: 1 addition & 1 deletion scripts/report-coverage.sh
Expand Up @@ -15,4 +15,4 @@ python -m coverage xml
python -m coverage report -m
# Set --connect-timeout to work around https://github.com/curl/curl/issues/4461
curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh
bash codecov-upload.sh -Z -X fix -f coverage.xml
bash codecov-upload.sh -Z -X fix -f coverage.xml "$@"

0 comments on commit 38538c6

Please sign in to comment.