From be58347ae51b2b801586df1b2891939053e9071d Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:55:08 -0300 Subject: [PATCH] add contrib openai-v2 instrumentation workflow 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