Skip to content

Commit f7470bd

Browse files
Fix DCO action tag and add tests/__init__.py for CI imports
- DCO tag: v0.5.0 → 0.5.0 (repo uses unversioned tags) - Add tests/__init__.py so `from tests.conftest import ...` works in CI - Fix import ordering in test_bootstrap.py Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a7247ac commit f7470bd

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ jobs:
101101
with:
102102
fetch-depth: 0
103103
- name: DCO check
104-
uses: christophebedard/dco-check@v0.5.0
104+
uses: christophebedard/dco-check@0.5.0
105105
env:
106106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tests/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-FileCopyrightText: 2026 The Botanu Authors
2+
# SPDX-License-Identifier: Apache-2.0

tests/unit/test_bootstrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ def test_otel_traces_sampler_env_var_warning(self):
644644
def test_conftest_uses_always_on(self):
645645
"""Test provider must also use ALWAYS_ON to match production behavior."""
646646
from opentelemetry.sdk.trace.sampling import ALWAYS_ON
647+
647648
from tests.conftest import _get_or_create_provider
648649

649650
provider, _ = _get_or_create_provider()

0 commit comments

Comments
 (0)