Skip to content

Commit 18647ae

Browse files
tox
1 parent c0aad73 commit 18647ae

5 files changed

Lines changed: 60 additions & 38 deletions

File tree

.github/workflows/test_1.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,25 @@ jobs:
21212121
- name: Run tests
21222122
run: tox -e py313-test-instrumentation-structlog -- -ra
21232123

2124+
py314-test-instrumentation-structlog_ubuntu-latest:
2125+
name: instrumentation-structlog 3.14 Ubuntu
2126+
runs-on: ubuntu-latest
2127+
timeout-minutes: 30
2128+
steps:
2129+
- name: Checkout repo @ SHA - ${{ github.sha }}
2130+
uses: actions/checkout@v4
2131+
2132+
- name: Set up Python 3.14
2133+
uses: actions/setup-python@v5
2134+
with:
2135+
python-version: "3.14"
2136+
2137+
- name: Install tox
2138+
run: pip install tox-uv
2139+
2140+
- name: Run tests
2141+
run: tox -e py314-test-instrumentation-structlog -- -ra
2142+
21242143
pypy3-test-instrumentation-structlog_ubuntu-latest:
21252144
name: instrumentation-structlog pypy-3.9 Ubuntu
21262145
runs-on: ubuntu-latest
@@ -4761,22 +4780,3 @@ jobs:
47614780

47624781
- name: Run tests
47634782
run: tox -e py39-test-instrumentation-asyncpg-wrapt1 -- -ra
4764-
4765-
py39-test-instrumentation-asyncpg-wrapt2_ubuntu-latest:
4766-
name: instrumentation-asyncpg-wrapt2 3.9 Ubuntu
4767-
runs-on: ubuntu-latest
4768-
timeout-minutes: 30
4769-
steps:
4770-
- name: Checkout repo @ SHA - ${{ github.sha }}
4771-
uses: actions/checkout@v4
4772-
4773-
- name: Set up Python 3.9
4774-
uses: actions/setup-python@v5
4775-
with:
4776-
python-version: "3.9"
4777-
4778-
- name: Install tox
4779-
run: pip install tox-uv
4780-
4781-
- name: Run tests
4782-
run: tox -e py39-test-instrumentation-asyncpg-wrapt2 -- -ra

.github/workflows/test_2.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ env:
3131

3232
jobs:
3333

34+
py39-test-instrumentation-asyncpg-wrapt2_ubuntu-latest:
35+
name: instrumentation-asyncpg-wrapt2 3.9 Ubuntu
36+
runs-on: ubuntu-latest
37+
timeout-minutes: 30
38+
steps:
39+
- name: Checkout repo @ SHA - ${{ github.sha }}
40+
uses: actions/checkout@v4
41+
42+
- name: Set up Python 3.9
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: "3.9"
46+
47+
- name: Install tox
48+
run: pip install tox-uv
49+
50+
- name: Run tests
51+
run: tox -e py39-test-instrumentation-asyncpg-wrapt2 -- -ra
52+
3453
py310-test-instrumentation-asyncpg-wrapt1_ubuntu-latest:
3554
name: instrumentation-asyncpg-wrapt1 3.10 Ubuntu
3655
runs-on: ubuntu-latest
@@ -4761,22 +4780,3 @@ jobs:
47614780

47624781
- name: Run tests
47634782
run: tox -e py310-test-instrumentation-asyncio -- -ra
4764-
4765-
py311-test-instrumentation-asyncio_ubuntu-latest:
4766-
name: instrumentation-asyncio 3.11 Ubuntu
4767-
runs-on: ubuntu-latest
4768-
timeout-minutes: 30
4769-
steps:
4770-
- name: Checkout repo @ SHA - ${{ github.sha }}
4771-
uses: actions/checkout@v4
4772-
4773-
- name: Set up Python 3.11
4774-
uses: actions/setup-python@v5
4775-
with:
4776-
python-version: "3.11"
4777-
4778-
- name: Install tox
4779-
run: pip install tox-uv
4780-
4781-
- name: Run tests
4782-
run: tox -e py311-test-instrumentation-asyncio -- -ra

.github/workflows/test_3.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ env:
3131

3232
jobs:
3333

34+
py311-test-instrumentation-asyncio_ubuntu-latest:
35+
name: instrumentation-asyncio 3.11 Ubuntu
36+
runs-on: ubuntu-latest
37+
timeout-minutes: 30
38+
steps:
39+
- name: Checkout repo @ SHA - ${{ github.sha }}
40+
uses: actions/checkout@v4
41+
42+
- name: Set up Python 3.11
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: "3.11"
46+
47+
- name: Install tox
48+
run: pip install tox-uv
49+
50+
- name: Run tests
51+
run: tox -e py311-test-instrumentation-asyncio -- -ra
52+
3453
py312-test-instrumentation-asyncio_ubuntu-latest:
3554
name: instrumentation-asyncio 3.12 Ubuntu
3655
runs-on: ubuntu-latest

instrumentation/opentelemetry-instrumentation-structlog/src/opentelemetry/instrumentation/structlog/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ def _patched_configure(*args, **kwargs):
330330
original = StructlogInstrumentor._original_configure
331331
if original is not None:
332332
return original(*args, **kwargs)
333+
return None
333334

334335
structlog.configure = _patched_configure
335336

uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)