Skip to content

Using the Codecov uploader instead of deprecated python package #2011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/test-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test common
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-common" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All common tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-aiohttp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test aiohttp
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-aiohttp" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All aiohttp tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-arq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test arq
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-arq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All arq tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-asgi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test asgi
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-asgi" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All asgi tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-aws_lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test aws_lambda
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-aws_lambda" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All aws_lambda tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-beam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test beam
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-beam" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All beam tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-boto3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test boto3
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-boto3" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All boto3 tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test bottle
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-bottle" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All bottle tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-celery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test celery
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-celery" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All celery tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-chalice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test chalice
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-chalice" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All chalice tests passed or skipped
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test cloud_resource_context
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-cloud_resource_context" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All cloud_resource_context tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test django
timeout-minutes: 45
Expand All @@ -73,10 +73,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-django" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All django tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-falcon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test falcon
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-falcon" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All falcon tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-fastapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test fastapi
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-fastapi" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All fastapi tests passed or skipped
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-integration-flask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup Test Env
run: |
pip install codecov "tox>=3,<4"
pip install coverage "tox>=3,<4"

- name: Test flask
timeout-minutes: 45
Expand All @@ -55,10 +55,15 @@ jobs:
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py${{ matrix.python-version }}-flask" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

check_required_tests:
name: All flask tests passed or skipped
Expand Down
Loading