From 966750aad4ba2a9c123b4f14785958ffe50b54ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Em=C3=ADdio=20Neto?= <9735060+emdneto@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:10:53 -0300 Subject: [PATCH] add contrib openai-v2 instrumentation workflow (#4239) Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- .github/workflows/contrib_0.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/contrib_0.yml b/.github/workflows/contrib_0.yml index aac4342e8c..6a515027a7 100644 --- a/.github/workflows/contrib_0.yml +++ b/.github/workflows/contrib_0.yml @@ -16,6 +16,34 @@ env: jobs: + py38-test-instrumentation-openai-v2: + name: instrumentation-openai-v2 + runs-on: ubuntu-latest + steps: + - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python-contrib + ref: ${{ env.CONTRIB_REPO_SHA }} + + - name: Checkout core repo @ SHA - ${{ github.sha }} + uses: actions/checkout@v4 + with: + repository: open-telemetry/opentelemetry-python + path: opentelemetry-python-core + + - name: Set up Python 3.8 + uses: actions/setup-python@v5 + with: + python-version: "3.8" + architecture: "x64" + + - name: Install tox + run: pip install tox + + - name: Run tests + run: tox -e py38-test-instrumentation-openai-v2 -- -ra + py38-test-resource-detector-container: name: resource-detector-container runs-on: ubuntu-latest