From 01d7ae632fc0e27523f91897e77aced7cde1d09a Mon Sep 17 00:00:00 2001 From: Joe McGinley <116890464+jomcgi@users.noreply.github.com> Date: Wed, 26 Mar 2025 09:14:43 +0000 Subject: [PATCH 1/2] Fix git pull error in core contrib test Core contrib is intermittently failing when pulling the core repo in tox. Add gh actions/checkout for the core repo before running tox to mitigate this. --- .github/workflows/core_contrib_test_0.yml | 846 ++++++++++++++++++ .../core_contrib_test.yml.j2 | 9 + CHANGELOG.md | 2 + tox.ini | 4 +- 4 files changed, 860 insertions(+), 1 deletion(-) diff --git a/.github/workflows/core_contrib_test_0.yml b/.github/workflows/core_contrib_test_0.yml index c003de5050..90110a9bc1 100644 --- a/.github/workflows/core_contrib_test_0.yml +++ b/.github/workflows/core_contrib_test_0.yml @@ -29,6 +29,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -40,6 +47,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-openai-v2-oldest -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-openai-v2-latest: name: instrumentation-openai-v2-latest @@ -51,6 +60,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -62,6 +78,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-openai-v2-latest -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-vertexai-oldest: name: instrumentation-vertexai-oldest @@ -73,6 +91,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -84,6 +109,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-vertexai-oldest -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-vertexai-latest: name: instrumentation-vertexai-latest @@ -95,6 +122,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -106,6 +140,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-vertexai-latest -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-resource-detector-container: name: resource-detector-container @@ -117,6 +153,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -128,6 +171,8 @@ jobs: - name: Run tests run: tox -e py38-test-resource-detector-container -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-resource-detector-azure-0: name: resource-detector-azure-0 @@ -139,6 +184,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -150,6 +202,8 @@ jobs: - name: Run tests run: tox -e py38-test-resource-detector-azure-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-resource-detector-azure-1: name: resource-detector-azure-1 @@ -161,6 +215,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -172,6 +233,8 @@ jobs: - name: Run tests run: tox -e py38-test-resource-detector-azure-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-sdk-extension-aws-0: name: sdk-extension-aws-0 @@ -183,6 +246,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -194,6 +264,8 @@ jobs: - name: Run tests run: tox -e py38-test-sdk-extension-aws-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-sdk-extension-aws-1: name: sdk-extension-aws-1 @@ -205,6 +277,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -216,6 +295,8 @@ jobs: - name: Run tests run: tox -e py38-test-sdk-extension-aws-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-distro: name: distro @@ -227,6 +308,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -238,6 +326,8 @@ jobs: - name: Run tests run: tox -e py38-test-distro -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-opentelemetry-instrumentation: name: opentelemetry-instrumentation @@ -249,6 +339,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -260,6 +357,8 @@ jobs: - name: Run tests run: tox -e py38-test-opentelemetry-instrumentation -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiohttp-client: name: instrumentation-aiohttp-client @@ -271,6 +370,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -282,6 +388,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiohttp-client -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiohttp-server: name: instrumentation-aiohttp-server @@ -293,6 +401,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -304,6 +419,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiohttp-server -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiopg: name: instrumentation-aiopg @@ -315,6 +432,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -326,6 +450,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiopg -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aws-lambda: name: instrumentation-aws-lambda @@ -337,6 +463,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -348,6 +481,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aws-lambda -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-botocore-0: name: instrumentation-botocore-0 @@ -359,6 +494,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -370,6 +512,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-botocore-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-botocore-1: name: instrumentation-botocore-1 @@ -381,6 +525,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -392,6 +543,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-botocore-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-boto3sqs: name: instrumentation-boto3sqs @@ -403,6 +556,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -414,6 +574,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-boto3sqs -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-django-0: name: instrumentation-django-0 @@ -425,6 +587,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -436,6 +605,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-django-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-django-1: name: instrumentation-django-1 @@ -447,6 +618,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -458,6 +636,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-django-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-django-2: name: instrumentation-django-2 @@ -469,6 +649,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -480,6 +667,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-django-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-dbapi: name: instrumentation-dbapi @@ -491,6 +680,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -502,6 +698,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-dbapi -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-boto: name: instrumentation-boto @@ -513,6 +711,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -524,6 +729,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-boto -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-click: name: instrumentation-click @@ -535,6 +742,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -546,6 +760,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-click -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-elasticsearch-0: name: instrumentation-elasticsearch-0 @@ -557,6 +773,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -568,6 +791,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-elasticsearch-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-elasticsearch-1: name: instrumentation-elasticsearch-1 @@ -579,6 +804,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -590,6 +822,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-elasticsearch-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-elasticsearch-2: name: instrumentation-elasticsearch-2 @@ -601,6 +835,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -612,6 +853,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-elasticsearch-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-0: name: instrumentation-falcon-0 @@ -623,6 +866,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -634,6 +884,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-1: name: instrumentation-falcon-1 @@ -645,6 +897,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -656,6 +915,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-2: name: instrumentation-falcon-2 @@ -667,6 +928,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -678,6 +946,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-3: name: instrumentation-falcon-3 @@ -689,6 +959,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -700,6 +977,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-3 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-fastapi: name: instrumentation-fastapi @@ -711,6 +990,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -722,6 +1008,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-fastapi -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-flask-0: name: instrumentation-flask-0 @@ -733,6 +1021,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -744,6 +1039,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-flask-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-flask-1: name: instrumentation-flask-1 @@ -755,6 +1052,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -766,6 +1070,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-flask-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-flask-2: name: instrumentation-flask-2 @@ -777,6 +1083,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -788,6 +1101,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-flask-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-urllib: name: instrumentation-urllib @@ -799,6 +1114,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -810,6 +1132,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-urllib -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-urllib3-0: name: instrumentation-urllib3-0 @@ -821,6 +1145,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -832,6 +1163,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-urllib3-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-urllib3-1: name: instrumentation-urllib3-1 @@ -843,6 +1176,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -854,6 +1194,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-urllib3-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-requests: name: instrumentation-requests @@ -865,6 +1207,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -876,6 +1225,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-requests -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-starlette-oldest: name: instrumentation-starlette-oldest @@ -887,6 +1238,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -898,6 +1256,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-starlette-oldest -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-starlette-latest: name: instrumentation-starlette-latest @@ -909,6 +1269,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -920,6 +1287,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-starlette-latest -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-jinja2: name: instrumentation-jinja2 @@ -931,6 +1300,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -942,6 +1318,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-jinja2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-logging: name: instrumentation-logging @@ -953,6 +1331,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -964,6 +1349,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-logging -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-exporter-richconsole: name: exporter-richconsole @@ -975,6 +1362,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -986,6 +1380,8 @@ jobs: - name: Run tests run: tox -e py38-test-exporter-richconsole -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-exporter-prometheus-remote-write: name: exporter-prometheus-remote-write @@ -997,6 +1393,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1008,6 +1411,8 @@ jobs: - name: Run tests run: tox -e py38-test-exporter-prometheus-remote-write -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-mysql-0: name: instrumentation-mysql-0 @@ -1019,6 +1424,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1030,6 +1442,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-mysql-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-mysql-1: name: instrumentation-mysql-1 @@ -1041,6 +1455,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1052,6 +1473,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-mysql-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-mysqlclient: name: instrumentation-mysqlclient @@ -1063,6 +1486,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1074,6 +1504,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-mysqlclient -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-psycopg2: name: instrumentation-psycopg2 @@ -1085,6 +1517,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1096,6 +1535,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-psycopg2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-psycopg2-binary: name: instrumentation-psycopg2-binary @@ -1107,6 +1548,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1118,6 +1566,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-psycopg2-binary -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-psycopg: name: instrumentation-psycopg @@ -1129,6 +1579,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1140,6 +1597,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-psycopg -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-0: name: instrumentation-pymemcache-0 @@ -1151,6 +1610,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1162,6 +1628,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-1: name: instrumentation-pymemcache-1 @@ -1173,6 +1641,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1184,6 +1659,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-2: name: instrumentation-pymemcache-2 @@ -1195,6 +1672,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1206,6 +1690,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-3: name: instrumentation-pymemcache-3 @@ -1217,6 +1703,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1228,6 +1721,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-3 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-4: name: instrumentation-pymemcache-4 @@ -1239,6 +1734,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1250,6 +1752,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-4 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymongo: name: instrumentation-pymongo @@ -1261,6 +1765,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1272,6 +1783,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymongo -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymysql: name: instrumentation-pymysql @@ -1283,6 +1796,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1294,6 +1814,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymysql -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymssql: name: instrumentation-pymssql @@ -1305,6 +1827,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1316,6 +1845,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymssql -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pyramid: name: instrumentation-pyramid @@ -1327,6 +1858,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1338,6 +1876,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pyramid -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asgi: name: instrumentation-asgi @@ -1349,6 +1889,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1360,6 +1907,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-asgi -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asyncpg: name: instrumentation-asyncpg @@ -1371,6 +1920,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1382,6 +1938,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-asyncpg -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sqlite3: name: instrumentation-sqlite3 @@ -1393,6 +1951,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1404,6 +1969,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sqlite3 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-wsgi: name: instrumentation-wsgi @@ -1415,6 +1982,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1426,6 +2000,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-wsgi -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-grpc-0: name: instrumentation-grpc-0 @@ -1437,6 +2013,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1448,6 +2031,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-grpc-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-grpc-1: name: instrumentation-grpc-1 @@ -1459,6 +2044,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1470,6 +2062,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-grpc-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sqlalchemy-1: name: instrumentation-sqlalchemy-1 @@ -1481,6 +2075,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1492,6 +2093,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sqlalchemy-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sqlalchemy-2: name: instrumentation-sqlalchemy-2 @@ -1503,6 +2106,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1514,6 +2124,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sqlalchemy-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-redis: name: instrumentation-redis @@ -1525,6 +2137,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1536,6 +2155,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-redis -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-remoulade: name: instrumentation-remoulade @@ -1547,6 +2168,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1558,6 +2186,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-remoulade -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-celery: name: instrumentation-celery @@ -1569,6 +2199,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1580,6 +2217,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-celery -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-system-metrics: name: instrumentation-system-metrics @@ -1591,6 +2230,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1602,6 +2248,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-system-metrics -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-threading: name: instrumentation-threading @@ -1613,6 +2261,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1624,6 +2279,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-threading -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-tornado: name: instrumentation-tornado @@ -1635,6 +2292,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1646,6 +2310,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-tornado -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-tortoiseorm: name: instrumentation-tortoiseorm @@ -1657,6 +2323,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1668,6 +2341,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-tortoiseorm -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-httpx-0: name: instrumentation-httpx-0 @@ -1679,6 +2354,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1690,6 +2372,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-httpx-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-httpx-1: name: instrumentation-httpx-1 @@ -1701,6 +2385,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1712,6 +2403,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-httpx-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-util-http: name: util-http @@ -1723,6 +2416,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1734,6 +2434,8 @@ jobs: - name: Run tests run: tox -e py38-test-util-http -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-propagator-aws-xray-0: name: propagator-aws-xray-0 @@ -1745,6 +2447,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1756,6 +2465,8 @@ jobs: - name: Run tests run: tox -e py38-test-propagator-aws-xray-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-propagator-aws-xray-1: name: propagator-aws-xray-1 @@ -1767,6 +2478,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1778,6 +2496,8 @@ jobs: - name: Run tests run: tox -e py38-test-propagator-aws-xray-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-propagator-ot-trace: name: propagator-ot-trace @@ -1789,6 +2509,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1800,6 +2527,8 @@ jobs: - name: Run tests run: tox -e py38-test-propagator-ot-trace -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sio-pika-0: name: instrumentation-sio-pika-0 @@ -1811,6 +2540,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1822,6 +2558,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sio-pika-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sio-pika-1: name: instrumentation-sio-pika-1 @@ -1833,6 +2571,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1844,6 +2589,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sio-pika-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-0: name: instrumentation-aio-pika-0 @@ -1855,6 +2602,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1866,6 +2620,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-0 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-1: name: instrumentation-aio-pika-1 @@ -1877,6 +2633,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1888,6 +2651,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-1 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-2: name: instrumentation-aio-pika-2 @@ -1899,6 +2664,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1910,6 +2682,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-2 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-3: name: instrumentation-aio-pika-3 @@ -1921,6 +2695,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1932,6 +2713,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-3 -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiokafka: name: instrumentation-aiokafka @@ -1943,6 +2726,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1954,6 +2744,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiokafka -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-kafka-python: name: instrumentation-kafka-python @@ -1965,6 +2757,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1976,6 +2775,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-kafka-python -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-kafka-pythonng: name: instrumentation-kafka-pythonng @@ -1987,6 +2788,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -1998,6 +2806,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-kafka-pythonng -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-confluent-kafka: name: instrumentation-confluent-kafka @@ -2009,6 +2819,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -2020,6 +2837,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-confluent-kafka -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asyncio: name: instrumentation-asyncio @@ -2031,6 +2850,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -2042,6 +2868,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-asyncio -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-cassandra: name: instrumentation-cassandra @@ -2053,6 +2881,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -2064,6 +2899,8 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-cassandra -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-processor-baggage: name: processor-baggage @@ -2075,6 +2912,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -2086,3 +2930,5 @@ jobs: - name: Run tests run: tox -e py38-test-processor-baggage -- -ra + env: + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" diff --git a/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 b/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 index f34b8e7941..51150fd77c 100644 --- a/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 +++ b/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 @@ -30,6 +30,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${% raw %}{{ env.CONTRIB_REPO_SHA }}{% endraw %} + - name: Checkout core repo @ SHA - ${% raw %}{{ env.CORE_REPO_SHA }}{% endraw %} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${% raw %}{{ env.CORE_REPO_SHA }}{% endraw %} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -41,4 +48,6 @@ jobs: - name: Run tests run: tox -e {{ job_data.tox_env }} -- -ra + env: + CORE_REPO: "git+file://{% raw %}${{ github.workspace }}{% endraw %}/opentelemetry-python" {%- endfor %} diff --git a/CHANGELOG.md b/CHANGELOG.md index b754fccc41..2b6c06bc95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#3322](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3322)) - `opentelemetry-instrumentation-requests` always record span status code in duration metric ([#3323](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3323)) +- `opentelemetry-python-contrib` Fix git pull failures in core contrib test + ([#3357](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3357)) ## Version 1.30.0/0.51b0 (2025-02-03) diff --git a/tox.ini b/tox.ini index afcc054e0f..20a98be41d 100644 --- a/tox.ini +++ b/tox.ini @@ -714,7 +714,9 @@ setenv = ; override CORE_REPO_SHA via env variable when testing other branches/commits than main ; i.e: CORE_REPO_SHA=dde62cebffe519c35875af6d06fae053b3be65ec tox -e CORE_REPO_SHA={env:CORE_REPO_SHA:main} - CORE_REPO=git+https://github.com/open-telemetry/opentelemetry-python.git@{env:CORE_REPO_SHA} + ; override CORE_REPO via env variable when testing from a fork or local repository + ; i.e: CORE_REPO=git+file://open-telemetry/opentelemetry-python tox -e + CORE_REPO={env:CORE_REPO:git+https://github.com/open-telemetry/opentelemetry-python.git}@{env:CORE_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml commands_pre = From 3f0886610c5bd4631dabb68394a8c48ac4b09fe1 Mon Sep 17 00:00:00 2001 From: Joe McGinley <116890464+jomcgi@users.noreply.github.com> Date: Wed, 9 Apr 2025 17:04:02 +0000 Subject: [PATCH 2/2] Update Core Repo env var Declare env var for the workflow instead of each invidividual job to reduce unnecessary repetition. --- .github/workflows/core_contrib_test_0.yml | 196 +----------------- .../core_contrib_test.yml.j2 | 3 +- 2 files changed, 9 insertions(+), 190 deletions(-) diff --git a/.github/workflows/core_contrib_test_0.yml b/.github/workflows/core_contrib_test_0.yml index c0473b37bf..6c3a6a3461 100644 --- a/.github/workflows/core_contrib_test_0.yml +++ b/.github/workflows/core_contrib_test_0.yml @@ -16,6 +16,7 @@ env: CORE_REPO_SHA: ${{ inputs.CORE_REPO_SHA }} CONTRIB_REPO_SHA: ${{ inputs.CONTRIB_REPO_SHA }} PIP_EXISTS_ACTION: w + CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" jobs: @@ -47,8 +48,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-openai-v2-oldest -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-openai-v2-latest: name: instrumentation-openai-v2-latest @@ -78,8 +77,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-openai-v2-latest -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-vertexai-oldest: name: instrumentation-vertexai-oldest @@ -109,8 +106,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-vertexai-oldest -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-vertexai-latest: name: instrumentation-vertexai-latest @@ -140,8 +135,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-vertexai-latest -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-resource-detector-container: name: resource-detector-container @@ -171,8 +164,6 @@ jobs: - name: Run tests run: tox -e py38-test-resource-detector-container -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-resource-detector-azure-0: name: resource-detector-azure-0 @@ -202,8 +193,6 @@ jobs: - name: Run tests run: tox -e py38-test-resource-detector-azure-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-resource-detector-azure-1: name: resource-detector-azure-1 @@ -233,8 +222,6 @@ jobs: - name: Run tests run: tox -e py38-test-resource-detector-azure-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-sdk-extension-aws-0: name: sdk-extension-aws-0 @@ -264,8 +251,6 @@ jobs: - name: Run tests run: tox -e py38-test-sdk-extension-aws-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-sdk-extension-aws-1: name: sdk-extension-aws-1 @@ -295,8 +280,6 @@ jobs: - name: Run tests run: tox -e py38-test-sdk-extension-aws-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-distro: name: distro @@ -326,8 +309,6 @@ jobs: - name: Run tests run: tox -e py38-test-distro -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-opentelemetry-instrumentation: name: opentelemetry-instrumentation @@ -357,8 +338,6 @@ jobs: - name: Run tests run: tox -e py38-test-opentelemetry-instrumentation -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiohttp-client: name: instrumentation-aiohttp-client @@ -388,8 +367,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiohttp-client -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiohttp-server: name: instrumentation-aiohttp-server @@ -419,8 +396,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiohttp-server -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiopg: name: instrumentation-aiopg @@ -450,8 +425,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiopg -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aws-lambda: name: instrumentation-aws-lambda @@ -481,8 +454,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aws-lambda -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-botocore-0: name: instrumentation-botocore-0 @@ -512,8 +483,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-botocore-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-botocore-1: name: instrumentation-botocore-1 @@ -543,8 +512,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-botocore-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-boto3sqs: name: instrumentation-boto3sqs @@ -574,8 +541,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-boto3sqs -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-django-0: name: instrumentation-django-0 @@ -605,8 +570,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-django-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-django-1: name: instrumentation-django-1 @@ -636,8 +599,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-django-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-django-2: name: instrumentation-django-2 @@ -667,8 +628,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-django-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-dbapi: name: instrumentation-dbapi @@ -698,8 +657,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-dbapi -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-boto: name: instrumentation-boto @@ -729,8 +686,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-boto -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asyncclick: name: instrumentation-asyncclick @@ -742,6 +697,13 @@ jobs: repository: open-telemetry/opentelemetry-python-contrib ref: ${{ env.CONTRIB_REPO_SHA }} + - name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + ref: ${{ env.CORE_REPO_SHA }} + path: opentelemetry-python + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -782,8 +744,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-click -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-elasticsearch-0: name: instrumentation-elasticsearch-0 @@ -813,8 +773,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-elasticsearch-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-elasticsearch-1: name: instrumentation-elasticsearch-1 @@ -844,8 +802,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-elasticsearch-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-elasticsearch-2: name: instrumentation-elasticsearch-2 @@ -875,8 +831,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-elasticsearch-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-0: name: instrumentation-falcon-0 @@ -906,8 +860,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-1: name: instrumentation-falcon-1 @@ -937,8 +889,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-2: name: instrumentation-falcon-2 @@ -968,8 +918,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-falcon-3: name: instrumentation-falcon-3 @@ -999,8 +947,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-falcon-3 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-fastapi: name: instrumentation-fastapi @@ -1030,8 +976,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-fastapi -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-flask-0: name: instrumentation-flask-0 @@ -1061,8 +1005,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-flask-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-flask-1: name: instrumentation-flask-1 @@ -1092,8 +1034,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-flask-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-flask-2: name: instrumentation-flask-2 @@ -1123,8 +1063,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-flask-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-urllib: name: instrumentation-urllib @@ -1154,8 +1092,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-urllib -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-urllib3-0: name: instrumentation-urllib3-0 @@ -1185,8 +1121,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-urllib3-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-urllib3-1: name: instrumentation-urllib3-1 @@ -1216,8 +1150,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-urllib3-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-requests: name: instrumentation-requests @@ -1247,8 +1179,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-requests -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-starlette-oldest: name: instrumentation-starlette-oldest @@ -1278,8 +1208,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-starlette-oldest -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-starlette-latest: name: instrumentation-starlette-latest @@ -1309,8 +1237,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-starlette-latest -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-jinja2: name: instrumentation-jinja2 @@ -1340,8 +1266,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-jinja2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-logging: name: instrumentation-logging @@ -1371,8 +1295,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-logging -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-exporter-richconsole: name: exporter-richconsole @@ -1402,8 +1324,6 @@ jobs: - name: Run tests run: tox -e py38-test-exporter-richconsole -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-exporter-prometheus-remote-write: name: exporter-prometheus-remote-write @@ -1433,8 +1353,6 @@ jobs: - name: Run tests run: tox -e py38-test-exporter-prometheus-remote-write -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-mysql-0: name: instrumentation-mysql-0 @@ -1464,8 +1382,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-mysql-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-mysql-1: name: instrumentation-mysql-1 @@ -1495,8 +1411,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-mysql-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-mysqlclient: name: instrumentation-mysqlclient @@ -1526,8 +1440,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-mysqlclient -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-psycopg2: name: instrumentation-psycopg2 @@ -1557,8 +1469,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-psycopg2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-psycopg2-binary: name: instrumentation-psycopg2-binary @@ -1588,8 +1498,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-psycopg2-binary -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-psycopg: name: instrumentation-psycopg @@ -1619,8 +1527,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-psycopg -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-0: name: instrumentation-pymemcache-0 @@ -1650,8 +1556,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-1: name: instrumentation-pymemcache-1 @@ -1681,8 +1585,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-2: name: instrumentation-pymemcache-2 @@ -1712,8 +1614,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-3: name: instrumentation-pymemcache-3 @@ -1743,8 +1643,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-3 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymemcache-4: name: instrumentation-pymemcache-4 @@ -1774,8 +1672,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymemcache-4 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymongo: name: instrumentation-pymongo @@ -1805,8 +1701,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymongo -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymysql: name: instrumentation-pymysql @@ -1836,8 +1730,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymysql -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pymssql: name: instrumentation-pymssql @@ -1867,8 +1759,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pymssql -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-pyramid: name: instrumentation-pyramid @@ -1898,8 +1788,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-pyramid -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asgi: name: instrumentation-asgi @@ -1929,8 +1817,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-asgi -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asyncpg: name: instrumentation-asyncpg @@ -1960,8 +1846,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-asyncpg -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sqlite3: name: instrumentation-sqlite3 @@ -1991,8 +1875,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sqlite3 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-wsgi: name: instrumentation-wsgi @@ -2022,8 +1904,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-wsgi -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-grpc-0: name: instrumentation-grpc-0 @@ -2053,8 +1933,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-grpc-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-grpc-1: name: instrumentation-grpc-1 @@ -2084,8 +1962,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-grpc-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sqlalchemy-1: name: instrumentation-sqlalchemy-1 @@ -2115,8 +1991,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sqlalchemy-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sqlalchemy-2: name: instrumentation-sqlalchemy-2 @@ -2146,8 +2020,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sqlalchemy-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-redis: name: instrumentation-redis @@ -2177,8 +2049,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-redis -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-remoulade: name: instrumentation-remoulade @@ -2208,8 +2078,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-remoulade -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-celery: name: instrumentation-celery @@ -2239,8 +2107,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-celery -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-system-metrics: name: instrumentation-system-metrics @@ -2270,8 +2136,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-system-metrics -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-threading: name: instrumentation-threading @@ -2301,8 +2165,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-threading -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-tornado: name: instrumentation-tornado @@ -2332,8 +2194,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-tornado -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-tortoiseorm: name: instrumentation-tortoiseorm @@ -2363,8 +2223,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-tortoiseorm -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-httpx-0: name: instrumentation-httpx-0 @@ -2394,8 +2252,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-httpx-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-httpx-1: name: instrumentation-httpx-1 @@ -2425,8 +2281,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-httpx-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-util-http: name: util-http @@ -2456,8 +2310,6 @@ jobs: - name: Run tests run: tox -e py38-test-util-http -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-propagator-aws-xray-0: name: propagator-aws-xray-0 @@ -2487,8 +2339,6 @@ jobs: - name: Run tests run: tox -e py38-test-propagator-aws-xray-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-propagator-aws-xray-1: name: propagator-aws-xray-1 @@ -2518,8 +2368,6 @@ jobs: - name: Run tests run: tox -e py38-test-propagator-aws-xray-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-propagator-ot-trace: name: propagator-ot-trace @@ -2549,8 +2397,6 @@ jobs: - name: Run tests run: tox -e py38-test-propagator-ot-trace -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sio-pika-0: name: instrumentation-sio-pika-0 @@ -2580,8 +2426,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sio-pika-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-sio-pika-1: name: instrumentation-sio-pika-1 @@ -2611,8 +2455,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-sio-pika-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-0: name: instrumentation-aio-pika-0 @@ -2642,8 +2484,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-0 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-1: name: instrumentation-aio-pika-1 @@ -2673,8 +2513,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-1 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-2: name: instrumentation-aio-pika-2 @@ -2704,8 +2542,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-2 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aio-pika-3: name: instrumentation-aio-pika-3 @@ -2735,8 +2571,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aio-pika-3 -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-aiokafka: name: instrumentation-aiokafka @@ -2766,8 +2600,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-aiokafka -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-kafka-python: name: instrumentation-kafka-python @@ -2797,8 +2629,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-kafka-python -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-kafka-pythonng: name: instrumentation-kafka-pythonng @@ -2828,8 +2658,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-kafka-pythonng -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-confluent-kafka: name: instrumentation-confluent-kafka @@ -2859,8 +2687,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-confluent-kafka -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-asyncio: name: instrumentation-asyncio @@ -2890,8 +2716,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-asyncio -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-instrumentation-cassandra: name: instrumentation-cassandra @@ -2921,8 +2745,6 @@ jobs: - name: Run tests run: tox -e py38-test-instrumentation-cassandra -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" py38-test-processor-baggage: name: processor-baggage @@ -2952,5 +2774,3 @@ jobs: - name: Run tests run: tox -e py38-test-processor-baggage -- -ra - env: - CORE_REPO: "git+file://${{ github.workspace }}/opentelemetry-python" diff --git a/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 b/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 index 51150fd77c..dd9d94f25d 100644 --- a/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 +++ b/.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2 @@ -16,6 +16,7 @@ env: CORE_REPO_SHA: ${% raw %}{{ inputs.CORE_REPO_SHA }}{% endraw %} CONTRIB_REPO_SHA: ${% raw %}{{ inputs.CONTRIB_REPO_SHA }}{% endraw %} PIP_EXISTS_ACTION: w + CORE_REPO: "git+file://{% raw %}${{ github.workspace }}{% endraw %}/opentelemetry-python" jobs: {%- for job_data in job_datas %} @@ -48,6 +49,4 @@ jobs: - name: Run tests run: tox -e {{ job_data.tox_env }} -- -ra - env: - CORE_REPO: "git+file://{% raw %}${{ github.workspace }}{% endraw %}/opentelemetry-python" {%- endfor %}