Skip to content

Commit b2cc9bb

Browse files
committed
Merge branch 'potel-base' into potel-base-run-all-tests
2 parents f726f75 + 2cb11a7 commit b2cc9bb

File tree

3 files changed

+5
-33
lines changed

3 files changed

+5
-33
lines changed

.github/workflows/test-integrations-flags.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
python-version: ["3.8","3.12","3.13"]
33-
# python3.6 reached EOL and is no longer being supported on
34-
# new versions of hosted runners on Github Actions
35-
# ubuntu-20.04 is the last version that supported python3.6
36-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37-
os: [ubuntu-20.04]
33+
os: [ubuntu-22.04]
3834
steps:
3935
- uses: actions/[email protected]
4036
- uses: actions/setup-python@v5
@@ -59,14 +55,8 @@ jobs:
5955
run: |
6056
set -x # print commands that are executed
6157
./scripts/runtox.sh "py${{ matrix.python-version }}-unleash-latest"
62-
- name: Generate coverage XML (Python 3.6)
63-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
64-
run: |
65-
export COVERAGE_RCFILE=.coveragerc36
66-
coverage combine .coverage-sentry-*
67-
coverage xml --ignore-errors
6858
- name: Generate coverage XML
69-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
59+
if: ${{ !cancelled() }}
7060
run: |
7161
coverage combine .coverage-sentry-*
7262
coverage xml
@@ -94,11 +84,7 @@ jobs:
9484
fail-fast: false
9585
matrix:
9686
python-version: ["3.8","3.12","3.13"]
97-
# python3.6 reached EOL and is no longer being supported on
98-
# new versions of hosted runners on Github Actions
99-
# ubuntu-20.04 is the last version that supported python3.6
100-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
101-
os: [ubuntu-20.04]
87+
os: [ubuntu-22.04]
10288
steps:
10389
- uses: actions/[email protected]
10490
- uses: actions/setup-python@v5
@@ -123,14 +109,8 @@ jobs:
123109
run: |
124110
set -x # print commands that are executed
125111
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-unleash"
126-
- name: Generate coverage XML (Python 3.6)
127-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
128-
run: |
129-
export COVERAGE_RCFILE=.coveragerc36
130-
coverage combine .coverage-sentry-*
131-
coverage xml --ignore-errors
132112
- name: Generate coverage XML
133-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
113+
if: ${{ !cancelled() }}
134114
run: |
135115
coverage combine .coverage-sentry-*
136116
coverage xml

.github/workflows/test-integrations-misc.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ jobs:
8282
run: |
8383
set -x # print commands that are executed
8484
./scripts/runtox.sh "py${{ matrix.python-version }}-typer-latest"
85-
- name: Test unleash latest
86-
run: |
87-
set -x # print commands that are executed
88-
./scripts/runtox.sh "py${{ matrix.python-version }}-unleash-latest"
8985
- name: Generate coverage XML
9086
if: ${{ !cancelled() }}
9187
run: |
@@ -167,10 +163,6 @@ jobs:
167163
run: |
168164
set -x # print commands that are executed
169165
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-typer"
170-
- name: Test unleash pinned
171-
run: |
172-
set -x # print commands that are executed
173-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-unleash"
174166
- name: Generate coverage XML
175167
if: ${{ !cancelled() }}
176168
run: |

tests/tracing/test_integration_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_continue_trace(
121121
def test_propagate_traces_deprecation_warning(sentry_init, sample_rate):
122122
sentry_init(traces_sample_rate=sample_rate, propagate_traces=False)
123123

124-
with start_transaction(name="hi"):
124+
with start_span(name="hi"):
125125
with start_span() as old_span:
126126
with pytest.warns(DeprecationWarning):
127127
dict(

0 commit comments

Comments
 (0)