diff --git a/.changelog/4841.fixed b/.changelog/4841.fixed new file mode 100644 index 0000000000..761e12d539 --- /dev/null +++ b/.changelog/4841.fixed @@ -0,0 +1 @@ +`opentelemetry-instrumentation-botocore`: Restore PyPy test coverage. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f27399a863..58bf2a2196 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3387,6 +3387,44 @@ jobs: - name: Run tests run: tox -e py314-test-instrumentation-botocore-3 -- -ra + pypy3-test-instrumentation-botocore-1-wrapt2_ubuntu-latest: + name: instrumentation-botocore-1-wrapt2 pypy-3.10 Ubuntu + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Checkout repo @ SHA - ${{ github.sha }} + uses: actions/checkout@v4 + + - name: Set up Python pypy-3.10 + uses: actions/setup-python@v5 + with: + python-version: "pypy-3.10" + + - name: Install tox + run: pip install tox-uv + + - name: Run tests + run: tox -e pypy3-test-instrumentation-botocore-1-wrapt2 -- -ra + + pypy3-test-instrumentation-botocore-3_ubuntu-latest: + name: instrumentation-botocore-3 pypy-3.10 Ubuntu + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Checkout repo @ SHA - ${{ github.sha }} + uses: actions/checkout@v4 + + - name: Set up Python pypy-3.10 + uses: actions/setup-python@v5 + with: + python-version: "pypy-3.10" + + - name: Install tox + run: pip install tox-uv + + - name: Run tests + run: tox -e pypy3-test-instrumentation-botocore-3 -- -ra + py310-test-instrumentation-boto3sqs_ubuntu-latest: name: instrumentation-boto3sqs 3.10 Ubuntu runs-on: ubuntu-latest diff --git a/tox.ini b/tox.ini index 81ba52d1f5..6e0993e9e0 100644 --- a/tox.ini +++ b/tox.ini @@ -95,8 +95,8 @@ envlist = ; opentelemetry-instrumentation-botocore py3{10,11,12,13,14}-test-instrumentation-botocore-{0,1}-{wrapt1,wrapt2} py3{10,11,12,13,14}-test-instrumentation-botocore-{2,3} - ; FIXME: see https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1736 - ; pypy3-test-instrumentation-botocore + pypy3-test-instrumentation-botocore-1-wrapt2 + pypy3-test-instrumentation-botocore-3 lint-instrumentation-botocore ; opentelemetry-instrumentation-boto3sqs